[ZBX-19887] Gitlab by HTTP - graphs are empty Created: 2021 Aug 30  Updated: 2021 Aug 31  Resolved: 2021 Aug 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Nigel Horne Assignee: Zabbix Support Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 18. Zabbix 5.4. Gitlab 14.2.1.



 Description   

Seeing no data on the graphs, I looked at the zabbix_server.log file and found this.  It may not be related, but I have nothing else to go on at the moment.

 

474489:20210830:124650.203 cannot link template(s) "Template OS Linux by Zabbix agent" to host "gitlab": conflicting item key "agent.hostname" found

474490:20210830:120147.343 item "gitlab:gitlab.liveness" became not supported: Preprocessing failed for: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">.<html><head>.<title>404 Not Found</title>.</he...
474491:20210830:120545.481 item "gitlab:gitlab.ruby.file_descriptors.max" became not supported: Preprocessing failed for: []
474491:20210830:120545.482 item "gitlab:gitlab.ruby.process_resident_memory_bytes.avg" became not supported: Preprocessing failed for: []
474491:20210830:120545.482 item "gitlab:gitlab.ruby.process_start_time_seconds.first" became not supported: Preprocessing failed for: []
474491:20210830:120545.483 item "gitlab:gitlab.cache.operations_total.rate" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_cache_operations_total")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.483 item "gitlab:gitlab.database.connection_pool_busy" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_busy" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.484 item "gitlab:gitlab.ruby.file_descriptors.min" became not supported: Preprocessing failed for: []
474491:20210830:120545.484 item "gitlab:gitlab.cache.misses_total.rate" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_cache_misses_total")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.485 item "gitlab:gitlab.ruby.file_descriptors.avg" became not supported: Preprocessing failed for: []
474491:20210830:120545.485 item "gitlab:gitlab.database.connection_pool_size" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_size" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.486 item "gitlab:gitlab.database.connection_pool_connections" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_connections" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.487 item "gitlab:gitlab.http.requests.rate" became not supported: Preprocessing failed for: []
474491:20210830:120545.488 item "gitlab:gitlab.ruby.process_resident_memory_bytes.min" became not supported: Preprocessing failed for: []
474491:20210830:120545.489 item "gitlab:gitlab.ruby.process_resident_memory_bytes.max" became not supported: Preprocessing failed for: []
474491:20210830:120545.489 item "gitlab:gitlab.ruby.threads_running" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_ruby_threads_running_threads")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.489 item "gitlab:gitlab.database.connection_pool_dead" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_dead" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.491 item "gitlab:gitlab.deployments.version" became not supported: Preprocessing failed for: []
474491:20210830:120545.491 item "gitlab:gitlab.ruby.process_start_time_seconds.last" became not supported: Preprocessing failed for: []
474491:20210830:120545.492 item "gitlab:gitlab.database.connection_pool_waiting" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_waiting" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.492 item "gitlab:gitlab.database.connection_pool_idle" became not supported: Preprocessing failed for: []
1. Failed: cannot extract value from json by path "$[?(@.name=="gitlab_database_connection_pool_idle" && @.labels.class == "ActiveRecord::Base")].value.sum()": cannot apply aggregation function to empty array
474491:20210830:120545.562 item "gitlab:gitlab.ruby.process_max_fds" became not supported: Preprocessing failed for: []
474493:20210830:120546.496 item "gitlab:gitlab.liveness" became supported

How do I proceed?



 Comments   
Comment by Karlis Salins (Inactive) [ 2021 Aug 31 ]

Hello, thank you for reporting this issue. Unfortunately, this issue does not appear to be a bug.

Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support (https://zabbix.com/support) or consultancy services. Alternatively, you can also use our IRC channel or community forum (https://www.zabbix.com/forum) for assistance. With that said, we are closing this ticket. Thank you for understanding. 

 

Best regards, Karlis

Comment by Nigel Horne [ 2021 Aug 31 ]

Generated at Tue Sep 09 00:41:18 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.