diff options
Diffstat (limited to 'templates/app/gitlab_http/template_app_gitlab_http.yaml')
-rw-r--r-- | templates/app/gitlab_http/template_app_gitlab_http.yaml | 293 |
1 files changed, 179 insertions, 114 deletions
diff --git a/templates/app/gitlab_http/template_app_gitlab_http.yaml b/templates/app/gitlab_http/template_app_gitlab_http.yaml index 3acf7ed0ae0..9d526a78f3b 100644 --- a/templates/app/gitlab_http/template_app_gitlab_http.yaml +++ b/templates/app/gitlab_http/template_app_gitlab_http.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-15T08:29:12Z' + date: '2022-01-26T10:01:54Z' groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 @@ -20,7 +20,7 @@ zabbix_export: You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Applications @@ -47,8 +47,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: cache - uuid: 9c507412d4544a37bdad49ba47c48302 name: 'GitLab: Cache: Operations rate, total' @@ -71,8 +71,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: cache - uuid: 2d46dc855ca741839cfe1a19e0dc892f name: 'GitLab: Database: Connection pool, busy' @@ -90,8 +90,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: 6ee7a1d3ab20463d83602b751381d821 name: 'GitLab: Database: Connection pool, current' @@ -109,8 +109,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: 561a1f54c98d4a2b828fe644961404be name: 'GitLab: Database: Connection pool, dead' @@ -128,8 +128,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: 3a0b5c8de88b41fa9ebf6f3fca63833e name: 'GitLab: Database: Connection pool, idle' @@ -147,8 +147,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: fd1458232de34981a9a00be820e123f1 name: 'GitLab: Database: Connection pool, size' @@ -166,8 +166,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: 501a2f646ced4207a32a24e900310440 name: 'GitLab: Database: Connection pool, waiting' @@ -185,8 +185,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: database - uuid: 71a5f82d11914b12a86008bfd488fb1e name: 'GitLab: Version' @@ -210,8 +210,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: application triggers: - uuid: 88d7ceb3a683436da666e8802b2d29b5 @@ -220,6 +220,10 @@ zabbix_export: priority: INFO description: 'GitLab version has changed. Ack to close.' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 3e409938aba24445a11012bcbf8aa113 name: 'GitLab: User CAPTCHA logins failed, total' @@ -238,8 +242,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: sessions - uuid: 2aa509b84dc14026b8ff8ed473add2d2 name: 'GitLab: Get instance metrics' @@ -260,8 +264,8 @@ zabbix_export: url: '{$GITLAB.URL}/-/metrics' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw - uuid: 3ff4d9793af94d339ca225aaf9200554 name: 'GitLab: HTTP requests rate, 4xx' @@ -286,8 +290,11 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: requests + - + tag: http-code + value: 4xx - uuid: d0fa18012d6a4b0ba6620b0ef6cb9aef name: 'GitLab: HTTP requests rate, 5xx' @@ -312,8 +319,11 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: requests + - + tag: http-code + value: 5xx triggers: - uuid: 7021e3b0b49a4990a1d8ce356b7ae130 @@ -321,6 +331,10 @@ zabbix_export: name: 'GitLab: Too many HTTP requests failures (over {$GITLAB.HTTP.FAIL.MAX.WARN} for 5m)''' priority: WARNING description: '"Too many requests failed on GitLab instance with 5xx HTTP code"' + tags: + - + tag: scope + value: availability - uuid: 2d739e4bedb24b50ab6adfdfdeb39da9 name: 'GitLab: HTTP requests rate, total' @@ -344,8 +358,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: requests - uuid: c48920e302ff4b9ab16f45b67775b440 name: 'GitLab: Application server status' @@ -379,8 +393,8 @@ zabbix_export: url: '{$GITLAB.URL}/-/liveness' tags: - - tag: Application - value: GitLab + tag: component + value: health triggers: - uuid: 2f1eb8d6c89a4d8cbda0e951d3f6a109 @@ -388,6 +402,10 @@ zabbix_export: name: 'GitLab: Liveness check was failed' priority: HIGH description: 'The application server is not running or Rails Controllers are deadlocked.' + tags: + - + tag: scope + value: availability - uuid: 7ef7142babfd4bc2b5b25be541c0511f name: 'GitLab: Pipelines: Auto DevOps pipelines, total' @@ -406,8 +424,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: 0ffa0a5c108644508252a03469e4f394 name: 'GitLab: Pipelines: Auto DevOps pipelines, failed' @@ -426,8 +444,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: f4265a3167a245c4998958106f6ee265 name: 'GitLab: Pipelines: Created, total' @@ -446,8 +464,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: 23cb22f8f81e461c86f72a92cdfde7a5 name: 'GitLab: Pipelines: CI/CD creation duration' @@ -468,8 +486,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: 91c3acbb82524244a1ac400587641ffa name: 'GitLab: Pipelines: Pipelines: CI/CD creation count' @@ -489,8 +507,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: c80453c338814951a9e97d9f37e7d68f name: 'GitLab: Pipelines: Processing events, total' @@ -509,8 +527,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: pipelines - uuid: 794a8d7f474d490c96e714dac810140d name: 'GitLab: Instance readiness check' @@ -544,8 +562,8 @@ zabbix_export: url: '{$GITLAB.URL}/-/readiness' tags: - - tag: Application - value: GitLab + tag: component + value: health triggers: - uuid: 11ff325698534dcd8bbaa12c86704069 @@ -556,6 +574,10 @@ zabbix_export: - name: 'GitLab: Liveness check was failed' expression: 'last(/GitLab by HTTP/gitlab.liveness)=0' + tags: + - + tag: scope + value: availability - uuid: 173b8d5e108f471fbf4c1267dcb9cc37 name: 'GitLab: Redis: Client exceptions rate, cache' @@ -579,8 +601,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis triggers: - uuid: a7e460f174fd4e16b2358fd3867390b4 @@ -588,6 +610,10 @@ zabbix_export: name: 'GitLab: Too many Redis cache client exceptions (over {$GITLAB.REDIS.FAIL.MAX.WARN} for 5m)' priority: WARNING description: '"Too many Redis client exceptions during to requests to Redis instance cache."' + tags: + - + tag: scope + value: availability - uuid: 0bff591252dc4cc497527afb1f7d96b2 name: 'GitLab: Redis: Client exceptions rate, queues' @@ -611,8 +637,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis triggers: - uuid: 36ec79901f324f27992ea68274eedb71 @@ -620,6 +646,10 @@ zabbix_export: name: 'GitLab: Too many Redis queues client exceptions (over {$GITLAB.REDIS.FAIL.MAX.WARN} for 5m)' priority: WARNING description: '"Too many Redis client exceptions during to requests to Redis instance queues."' + tags: + - + tag: scope + value: availability - uuid: 800b429ea1d044e6a685bc51706f8547 name: 'GitLab: Redis: client exceptions rate, shared_state' @@ -643,8 +673,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis triggers: - uuid: b475d6ecbc564f9b8f7fe9b24bcdf013 @@ -652,6 +682,10 @@ zabbix_export: name: 'GitLab: Too many Redis shared_state client exceptions (over {$GITLAB.REDIS.FAIL.MAX.WARN} for 5m)' priority: WARNING description: '"Too many Redis client exceptions during to requests to Redis instance shared_state."' + tags: + - + tag: component + value: redis - uuid: 7dcc638e1c174dd5975f85551211a3ba name: 'GitLab: Redis: Client requests rate, cache' @@ -676,8 +710,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis - uuid: f613303925db46958d181c379e22f942 name: 'GitLab: Redis: Client requests rate, queues' @@ -702,8 +736,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis - uuid: 3ae46654b46e4c769a7308879bc64890 name: 'GitLab: Redis: Client requests rate, shared_state' @@ -728,8 +762,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: redis - uuid: 950d48c3b5034e769b2bf6a7110ece02 name: 'GitLab: Ruby: File descriptors opened, avg' @@ -748,8 +782,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: fds - uuid: 67ed35c3f5f444b2b10fb462838758ac name: 'GitLab: Ruby: File descriptors opened, max' @@ -768,8 +802,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: fds - uuid: b1576e2b47bd448293c3e88885bfc87e name: 'GitLab: Ruby: File descriptors opened, min' @@ -788,8 +822,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: fds - uuid: 98feff3bfe0d4a9ea88733ae8fef8769 name: 'GitLab: Ruby: CPU usage per second' @@ -814,8 +848,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: cpu - uuid: 91ed44c1738745119e892eadb88b417f name: 'GitLab: Ruby: File descriptors, max' @@ -834,8 +868,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: fds - uuid: 8de84a159b864ed791c07835aa0ec39a name: 'GitLab: Ruby: RSS memory, avg' @@ -855,8 +889,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: memory - uuid: 27285f7d3c344d68b7945edde3cb8ecf name: 'GitLab: Ruby: RSS memory, max' @@ -876,8 +910,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: memory - uuid: 0cf8d21bcb8d4fb7880784dc82ba8229 name: 'GitLab: Ruby: RSS memory, min' @@ -897,8 +931,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: memory - uuid: 68267621a5e14494bf57225e71e05ff4 name: 'GitLab: Ruby: First process start time' @@ -921,8 +955,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: application - uuid: be88084e9b544af68f78c013caf6b59a name: 'GitLab: Ruby: Last process start time' @@ -945,8 +979,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: application - uuid: f23849bd9716444f8bf65d3964e3be15 name: 'GitLab: Ruby: Running_threads' @@ -964,8 +998,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: system triggers: - uuid: e24496a9499447b2bbdf70f85bbf2113 @@ -978,6 +1012,10 @@ zabbix_export: - name: 'GitLab: Liveness check was failed' expression: 'last(/GitLab by HTTP/gitlab.liveness)=0' + tags: + - + tag: scope + value: availability - uuid: 56af56ccc23d44bcb636871229fbcde2 name: 'GitLab: User CAPTCHA logins, total' @@ -996,8 +1034,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: sessions - uuid: 95deb1dc93d34935930b154d1222c8a4 name: 'GitLab: Transactions per second' @@ -1022,8 +1060,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: transactions - uuid: d1a346edc81d487da115105333e8992d name: 'GitLab: Upload file does not exist' @@ -1042,8 +1080,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: application - uuid: 62c9c5a8886e431bb04c40a8045fe207 name: 'GitLab: User logins, total' @@ -1062,8 +1100,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: GitLab + tag: component + value: sessions discovery_rules: - uuid: acd3e31daa8f497bb1ce0f91d104d928 @@ -1090,8 +1128,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 14194f273b4e47d98cfdcbefff64cc68 name: 'GitLab: Idle threads' @@ -1109,8 +1147,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 33a1be2938e24ce2a3fb650efa4f98d6 name: 'GitLab: Killer terminations, total' @@ -1129,8 +1167,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 7d93438afd73422d90b03e78b1c0f998 name: 'GitLab: Max threads' @@ -1148,8 +1186,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: fe381c99c2464e95bac63da2df994b8a name: 'GitLab: Pool capacity' @@ -1167,8 +1205,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 8c375d8323f9459a8b2a6254b7afed5b name: 'GitLab: Queued connections' @@ -1186,14 +1224,18 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma trigger_prototypes: - uuid: 356c8dc915d84382b3f8dfe45b901f46 expression: 'min(/GitLab by HTTP/gitlab.puma.queued_connections[{#SINGLETON}],15m)>{$GITLAB.PUMA.QUEUE.MAX.WARN}' name: 'GitLab: Puma is queueing requests (over {$GITLAB.PUMA.QUEUE.MAX.WARN}% for 15m)' priority: WARNING + tags: + - + tag: scope + value: perfomance - uuid: 02b27e8a68884f399a8359ed6967d614 name: 'GitLab: Running threads' @@ -1211,8 +1253,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: b43e4275dd64427bb6eb4890c556c513 name: 'GitLab: Running workers' @@ -1230,8 +1272,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 0169db2581ba48579edc911cad4b41d7 name: 'GitLab: Stale workers' @@ -1249,8 +1291,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma - uuid: 19e0149a6de846c7a39b305037469ecb name: 'GitLab: Workers' @@ -1268,14 +1310,18 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Puma stats' + tag: component + value: puma trigger_prototypes: - uuid: b69fe81449bd4b6cb6dfddeb333e8898 expression: 'min(/GitLab by HTTP/gitlab.puma.active_connections[{#SINGLETON}],5m)/last(/GitLab by HTTP/gitlab.puma.max_threads[{#SINGLETON}])*100>{$GITLAB.PUMA.UTILIZATION.MAX.WARN}' name: 'GitLab: Puma instance thread utilization is too high (over {$GITLAB.PUMA.UTILIZATION.MAX.WARN}% for 5m)' priority: WARNING + tags: + - + tag: scope + value: capacity url: '{$GITLAB.URL}/-/metrics' preprocessing: - @@ -1311,8 +1357,8 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Unicorn stats' + tag: component + value: unicorn - uuid: 31e0f545c6c6428c8f9f46426cb97ca7 name: 'GitLab: Unicorn: Queued connections' @@ -1330,14 +1376,18 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Unicorn stats' + tag: component + value: unicorn trigger_prototypes: - uuid: 84142d0996c0420c8b07c7e17d1b9a47 expression: 'min(/GitLab by HTTP/gitlab.unicorn.queued_connections[{#SINGLETON}],5m)>{$GITLAB.UNICORN.QUEUE.MAX.WARN}' name: 'GitLab: Unicorn is queueing requests (over {$GITLAB.UNICORN.QUEUE.MAX.WARN}% for 5m)' priority: WARNING + tags: + - + tag: scope + value: perfomance - uuid: 44a12fd548b742069cae53a78f7f8ab0 name: 'GitLab: Unicorn: Workers' @@ -1355,14 +1405,18 @@ zabbix_export: key: gitlab.get_metrics tags: - - tag: Application - value: 'GitLab: Unicorn stats' + tag: component + value: unicorn trigger_prototypes: - uuid: 731bf8eb456c49739a3fcd7aec24c7d7 expression: 'min(/GitLab by HTTP/gitlab.unicorn.active_connections[{#SINGLETON}],5m)/last(/GitLab by HTTP/gitlab.unicorn.unicorn_workers[{#SINGLETON}])*100>{$GITLAB.UNICORN.UTILIZATION.MAX.WARN}' name: 'GitLab: Unicorn worker utilization is too high (over {$GITLAB.UNICORN.UTILIZATION.MAX.WARN}% for 5m)' priority: WARNING + tags: + - + tag: scope + value: capacity url: '{$GITLAB.URL}/-/metrics' preprocessing: - @@ -1374,6 +1428,13 @@ zabbix_export: type: JAVASCRIPT parameters: - 'return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);' + tags: + - + tag: class + value: application + - + tag: target + value: gitlab macros: - macro: '{$GITLAB.HTTP.FAIL.MAX.WARN}' @@ -1424,6 +1485,10 @@ zabbix_export: expression: 'min(/GitLab by HTTP/gitlab.ruby.file_descriptors.max,5m)/last(/GitLab by HTTP/gitlab.ruby.process_max_fds)*100>{$GITLAB.OPEN.FDS.MAX.WARN}' name: 'GitLab: Current number of open files is too high (over {$GITLAB.OPEN.FDS.MAX.WARN}% for 5m)' priority: WARNING + tags: + - + tag: scope + value: capacity graphs: - uuid: f6c30e56b54e478ea2708e302197b83b |