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 | 81 |
1 files changed, 80 insertions, 1 deletions
diff --git a/templates/app/gitlab_http/template_app_gitlab_http.yaml b/templates/app/gitlab_http/template_app_gitlab_http.yaml index f98db4eebc5..3b2a98344a4 100644 --- a/templates/app/gitlab_http/template_app_gitlab_http.yaml +++ b/templates/app/gitlab_http/template_app_gitlab_http.yaml @@ -1,11 +1,13 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:32Z' groups: - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications templates: - + uuid: f445dac89ff74deabaae9dcb84815998 template: 'GitLab by HTTP' name: 'GitLab by HTTP' description: | @@ -24,6 +26,7 @@ zabbix_export: name: Templates/Applications items: - + uuid: 43a26551b0a6460cac3c43138ec5fd33 name: 'GitLab: Cache: Misses rate, total' type: DEPENDENT key: gitlab.cache.misses_total.rate @@ -47,6 +50,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 9c507412d4544a37bdad49ba47c48302 name: 'GitLab: Cache: Operations rate, total' type: DEPENDENT key: gitlab.cache.operations_total.rate @@ -70,6 +74,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 2d46dc855ca741839cfe1a19e0dc892f name: 'GitLab: Database: Connection pool, busy' type: DEPENDENT key: gitlab.database.connection_pool_busy @@ -88,6 +93,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 6ee7a1d3ab20463d83602b751381d821 name: 'GitLab: Database: Connection pool, current' type: DEPENDENT key: gitlab.database.connection_pool_connections @@ -106,6 +112,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 561a1f54c98d4a2b828fe644961404be name: 'GitLab: Database: Connection pool, dead' type: DEPENDENT key: gitlab.database.connection_pool_dead @@ -124,6 +131,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 3a0b5c8de88b41fa9ebf6f3fca63833e name: 'GitLab: Database: Connection pool, idle' type: DEPENDENT key: gitlab.database.connection_pool_idle @@ -142,6 +150,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: fd1458232de34981a9a00be820e123f1 name: 'GitLab: Database: Connection pool, size' type: DEPENDENT key: gitlab.database.connection_pool_size @@ -160,6 +169,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 501a2f646ced4207a32a24e900310440 name: 'GitLab: Database: Connection pool, waiting' type: DEPENDENT key: gitlab.database.connection_pool_waiting @@ -178,6 +188,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 71a5f82d11914b12a86008bfd488fb1e name: 'GitLab: Version' type: DEPENDENT key: gitlab.deployments.version @@ -203,12 +214,14 @@ zabbix_export: value: GitLab triggers: - + uuid: ca0b3f287bf04c48bdfc214049179571 expression: '(last(/GitLab by HTTP/gitlab.deployments.version,#1)<>last(/GitLab by HTTP/gitlab.deployments.version,#2))=1 and length(last(/GitLab by HTTP/gitlab.deployments.version))>0' name: 'GitLab: Version has changed (new version: {ITEM.VALUE})' priority: INFO description: 'GitLab version has changed. Ack to close.' manual_close: 'YES' - + uuid: 3e409938aba24445a11012bcbf8aa113 name: 'GitLab: User CAPTCHA logins failed, total' type: DEPENDENT key: gitlab.failed_login_captcha_total @@ -228,6 +241,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 2aa509b84dc14026b8ff8ed473add2d2 name: 'GitLab: Get instance metrics' type: HTTP_AGENT key: gitlab.get_metrics @@ -249,6 +263,7 @@ zabbix_export: tag: Application value: 'Zabbix raw items' - + uuid: 3ff4d9793af94d339ca225aaf9200554 name: 'GitLab: HTTP requests rate, 4xx' type: DEPENDENT key: gitlab.http.requests.4xx.rate @@ -274,6 +289,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: d0fa18012d6a4b0ba6620b0ef6cb9aef name: 'GitLab: HTTP requests rate, 5xx' type: DEPENDENT key: gitlab.http.requests.5xx.rate @@ -300,11 +316,13 @@ zabbix_export: value: GitLab triggers: - + uuid: f4c67443bfbb411b8243b8df6c8f8ae4 expression: 'min(/GitLab by HTTP/gitlab.http.requests.5xx.rate,5m)>{$GITLAB.HTTP.FAIL.MAX.WARN}' 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"' - + uuid: 2d739e4bedb24b50ab6adfdfdeb39da9 name: 'GitLab: HTTP requests rate, total' type: DEPENDENT key: gitlab.http.requests.rate @@ -329,6 +347,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: c48920e302ff4b9ab16f45b67775b440 name: 'GitLab: Application server status' type: HTTP_AGENT key: gitlab.liveness @@ -365,11 +384,13 @@ zabbix_export: value: GitLab triggers: - + uuid: 2f1eb8d6c89a4d8cbda0e951d3f6a109 expression: 'last(/GitLab by HTTP/gitlab.liveness)=0' name: 'GitLab: Liveness check was failed' priority: HIGH description: 'The application server is not running or Rails Controllers are deadlocked.' - + uuid: 7ef7142babfd4bc2b5b25be541c0511f name: 'GitLab: Pipelines: Auto DevOps pipelines, total' type: DEPENDENT key: gitlab.pipeine.auto_devops_completed.total @@ -389,6 +410,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 0ffa0a5c108644508252a03469e4f394 name: 'GitLab: Pipelines: Auto DevOps pipelines, failed' type: DEPENDENT key: gitlab.pipeine.auto_devops_completed_total.failed @@ -408,6 +430,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: f4265a3167a245c4998958106f6ee265 name: 'GitLab: Pipelines: Created, total' type: DEPENDENT key: gitlab.pipeine.created_total @@ -427,6 +450,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 23cb22f8f81e461c86f72a92cdfde7a5 name: 'GitLab: Pipelines: CI/CD creation duration' type: DEPENDENT key: gitlab.pipeine.pipeline_creation @@ -447,6 +471,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 91c3acbb82524244a1ac400587641ffa name: 'GitLab: Pipelines: Pipelines: CI/CD creation count' type: DEPENDENT key: gitlab.pipeine.pipeline_creation.count @@ -466,6 +491,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: c80453c338814951a9e97d9f37e7d68f name: 'GitLab: Pipelines: Processing events, total' type: DEPENDENT key: gitlab.pipeine.processing_events_total @@ -485,6 +511,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 794a8d7f474d490c96e714dac810140d name: 'GitLab: Instance readiness check' type: HTTP_AGENT key: gitlab.readiness @@ -520,6 +547,7 @@ zabbix_export: value: GitLab triggers: - + uuid: 11ff325698534dcd8bbaa12c86704069 expression: 'last(/GitLab by HTTP/gitlab.readiness)=0' name: 'GitLab: Gitlab instance is not able to accept traffic' priority: HIGH @@ -528,6 +556,7 @@ zabbix_export: name: 'GitLab: Liveness check was failed' expression: 'last(/GitLab by HTTP/gitlab.liveness)=0' - + uuid: 173b8d5e108f471fbf4c1267dcb9cc37 name: 'GitLab: Redis: Client exceptions rate, cache' type: DEPENDENT key: gitlab.redis.client_exceptions.cache.rate @@ -553,11 +582,13 @@ zabbix_export: value: GitLab triggers: - + uuid: 531360dc8c6f461e90598953bc2ff7c4 expression: 'min(/GitLab by HTTP/gitlab.redis.client_exceptions.cache.rate,5m)>{$GITLAB.REDIS.FAIL.MAX.WARN}' 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."' - + uuid: 0bff591252dc4cc497527afb1f7d96b2 name: 'GitLab: Redis: Client exceptions rate, queues' type: DEPENDENT key: gitlab.redis.client_exceptions.queues.rate @@ -583,11 +614,13 @@ zabbix_export: value: GitLab triggers: - + uuid: 32c515848dcc4e378be3aec4016c30bc expression: 'min(/GitLab by HTTP/gitlab.redis.client_exceptions.queues.rate,5m)>{$GITLAB.REDIS.FAIL.MAX.WARN}' 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."' - + uuid: 800b429ea1d044e6a685bc51706f8547 name: 'GitLab: Redis: client exceptions rate, shared_state' type: DEPENDENT key: gitlab.redis.client_exceptions.shared_state.rate @@ -613,11 +646,13 @@ zabbix_export: value: GitLab triggers: - + uuid: 70f5dcdc441b4cb18f2ab6dc3ee8270b expression: 'min(/GitLab by HTTP/gitlab.redis.client_exceptions.shared_state.rate,5m)>{$GITLAB.REDIS.FAIL.MAX.WARN}' 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."' - + uuid: 7dcc638e1c174dd5975f85551211a3ba name: 'GitLab: Redis: Client requests rate, cache' type: DEPENDENT key: gitlab.redis.client_requests.cache.rate @@ -643,6 +678,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: f613303925db46958d181c379e22f942 name: 'GitLab: Redis: Client requests rate, queues' type: DEPENDENT key: gitlab.redis.client_requests.queues.rate @@ -668,6 +704,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 3ae46654b46e4c769a7308879bc64890 name: 'GitLab: Redis: Client requests rate, shared_state' type: DEPENDENT key: gitlab.redis.client_requests.shared_state.rate @@ -693,6 +730,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 950d48c3b5034e769b2bf6a7110ece02 name: 'GitLab: Ruby: File descriptors opened, avg' type: DEPENDENT key: gitlab.ruby.file_descriptors.avg @@ -712,6 +750,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 67ed35c3f5f444b2b10fb462838758ac name: 'GitLab: Ruby: File descriptors opened, max' type: DEPENDENT key: gitlab.ruby.file_descriptors.max @@ -731,6 +770,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: b1576e2b47bd448293c3e88885bfc87e name: 'GitLab: Ruby: File descriptors opened, min' type: DEPENDENT key: gitlab.ruby.file_descriptors.min @@ -750,6 +790,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 98feff3bfe0d4a9ea88733ae8fef8769 name: 'GitLab: Ruby: CPU usage per second' type: DEPENDENT key: gitlab.ruby.process_cpu_seconds.rate @@ -775,6 +816,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 91ed44c1738745119e892eadb88b417f name: 'GitLab: Ruby: File descriptors, max' type: DEPENDENT key: gitlab.ruby.process_max_fds @@ -794,6 +836,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 8de84a159b864ed791c07835aa0ec39a name: 'GitLab: Ruby: RSS memory, avg' type: DEPENDENT key: gitlab.ruby.process_resident_memory_bytes.avg @@ -814,6 +857,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 27285f7d3c344d68b7945edde3cb8ecf name: 'GitLab: Ruby: RSS memory, max' type: DEPENDENT key: gitlab.ruby.process_resident_memory_bytes.max @@ -834,6 +878,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 0cf8d21bcb8d4fb7880784dc82ba8229 name: 'GitLab: Ruby: RSS memory, min' type: DEPENDENT key: gitlab.ruby.process_resident_memory_bytes.min @@ -854,6 +899,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 68267621a5e14494bf57225e71e05ff4 name: 'GitLab: Ruby: First process start time' type: DEPENDENT key: gitlab.ruby.process_start_time_seconds.first @@ -877,6 +923,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: be88084e9b544af68f78c013caf6b59a name: 'GitLab: Ruby: Last process start time' type: DEPENDENT key: gitlab.ruby.process_start_time_seconds.last @@ -900,6 +947,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: f23849bd9716444f8bf65d3964e3be15 name: 'GitLab: Ruby: Running_threads' type: DEPENDENT key: gitlab.ruby.threads_running @@ -919,6 +967,7 @@ zabbix_export: value: GitLab triggers: - + uuid: 38680b43170440aeb35acfba52c77603 expression: 'nodata(/GitLab by HTTP/gitlab.ruby.threads_running,30m)=1' name: 'GitLab: Failed to fetch info data (or no data for 30m)' priority: WARNING @@ -929,6 +978,7 @@ zabbix_export: name: 'GitLab: Liveness check was failed' expression: 'last(/GitLab by HTTP/gitlab.liveness)=0' - + uuid: 56af56ccc23d44bcb636871229fbcde2 name: 'GitLab: User CAPTCHA logins, total' type: DEPENDENT key: gitlab.successful_login_captcha_total @@ -948,6 +998,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 95deb1dc93d34935930b154d1222c8a4 name: 'GitLab: Transactions per second' type: DEPENDENT key: gitlab.transactions.rate @@ -973,6 +1024,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: d1a346edc81d487da115105333e8992d name: 'GitLab: Upload file does not exist' type: DEPENDENT key: gitlab.upload_file_does_not_exist @@ -992,6 +1044,7 @@ zabbix_export: tag: Application value: GitLab - + uuid: 62c9c5a8886e431bb04c40a8045fe207 name: 'GitLab: User logins, total' type: DEPENDENT key: gitlab.user_session_logins_total @@ -1012,6 +1065,7 @@ zabbix_export: value: GitLab discovery_rules: - + uuid: acd3e31daa8f497bb1ce0f91d104d928 name: 'Puma metrics discovery' type: HTTP_AGENT key: gitlab.puma.discovery @@ -1019,6 +1073,7 @@ zabbix_export: description: 'Discovery Puma specific metrics, when Puma is used.' item_prototypes: - + uuid: 6b6ebfe9326247c8a57fb8c96125bcee name: 'GitLab: Active connections' type: DEPENDENT key: 'gitlab.puma.active_connections[{#SINGLETON}]' @@ -1037,6 +1092,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 14194f273b4e47d98cfdcbefff64cc68 name: 'GitLab: Idle threads' type: DEPENDENT key: 'gitlab.puma.idle_threads[{#SINGLETON}]' @@ -1055,6 +1111,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 33a1be2938e24ce2a3fb650efa4f98d6 name: 'GitLab: Killer terminations, total' type: DEPENDENT key: 'gitlab.puma.killer_terminations_total[{#SINGLETON}]' @@ -1074,6 +1131,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 7d93438afd73422d90b03e78b1c0f998 name: 'GitLab: Max threads' type: DEPENDENT key: 'gitlab.puma.max_threads[{#SINGLETON}]' @@ -1092,6 +1150,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: fe381c99c2464e95bac63da2df994b8a name: 'GitLab: Pool capacity' type: DEPENDENT key: 'gitlab.puma.pool_capacity[{#SINGLETON}]' @@ -1110,6 +1169,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 8c375d8323f9459a8b2a6254b7afed5b name: 'GitLab: Queued connections' type: DEPENDENT key: 'gitlab.puma.queued_connections[{#SINGLETON}]' @@ -1129,10 +1189,12 @@ zabbix_export: value: 'GitLab: Puma stats' trigger_prototypes: - + uuid: ed2e41aaad724f80aafc99c9d44a0d91 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 - + uuid: 02b27e8a68884f399a8359ed6967d614 name: 'GitLab: Running threads' type: DEPENDENT key: 'gitlab.puma.running[{#SINGLETON}]' @@ -1151,6 +1213,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: b43e4275dd64427bb6eb4890c556c513 name: 'GitLab: Running workers' type: DEPENDENT key: 'gitlab.puma.running_workers[{#SINGLETON}]' @@ -1169,6 +1232,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 0169db2581ba48579edc911cad4b41d7 name: 'GitLab: Stale workers' type: DEPENDENT key: 'gitlab.puma.stale_workers[{#SINGLETON}]' @@ -1187,6 +1251,7 @@ zabbix_export: tag: Application value: 'GitLab: Puma stats' - + uuid: 19e0149a6de846c7a39b305037469ecb name: 'GitLab: Workers' type: DEPENDENT key: 'gitlab.puma.workers[{#SINGLETON}]' @@ -1206,6 +1271,7 @@ zabbix_export: value: 'GitLab: Puma stats' trigger_prototypes: - + uuid: c0f45d12f3174321be9ec0cc9c222226 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 @@ -1220,6 +1286,7 @@ zabbix_export: parameters: - 'return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);' - + uuid: 912723d1837641cf9b84996788bd6b54 name: 'Unicorn metrics discovery' type: HTTP_AGENT key: gitlab.unicorn.discovery @@ -1227,6 +1294,7 @@ zabbix_export: description: 'DiscoveryUnicorn specific metrics, when Unicorn is used.' item_prototypes: - + uuid: 7461ee7fad7f4597825644b80cce2ec2 name: 'GitLab: Unicorn: Active connections' type: DEPENDENT key: 'gitlab.unicorn.active_connections[{#SINGLETON}]' @@ -1245,6 +1313,7 @@ zabbix_export: tag: Application value: 'GitLab: Unicorn stats' - + uuid: 31e0f545c6c6428c8f9f46426cb97ca7 name: 'GitLab: Unicorn: Queued connections' type: DEPENDENT key: 'gitlab.unicorn.queued_connections[{#SINGLETON}]' @@ -1264,10 +1333,12 @@ zabbix_export: value: 'GitLab: Unicorn stats' trigger_prototypes: - + uuid: f13eb4e4f6454e6bbd3ab89238b46b0a 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 - + uuid: 44a12fd548b742069cae53a78f7f8ab0 name: 'GitLab: Unicorn: Workers' type: DEPENDENT key: 'gitlab.unicorn.unicorn_workers[{#SINGLETON}]' @@ -1287,6 +1358,7 @@ zabbix_export: value: 'GitLab: Unicorn stats' trigger_prototypes: - + uuid: cb5783d15b314436b11c84669146e667 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 @@ -1340,6 +1412,7 @@ zabbix_export: description: 'GitLab instance URL' valuemaps: - + uuid: 3b40391bb8b6472e9c3fd8e1f001fe04 name: 'GitLab healthcheck' mappings: - @@ -1350,11 +1423,13 @@ zabbix_export: newvalue: Ok triggers: - + uuid: bf7233ce98c243eda72af4a2b8dec78f 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 graphs: - + uuid: f6c30e56b54e478ea2708e302197b83b name: 'GitLab: Database: Connection pool' graph_items: - @@ -1394,6 +1469,7 @@ zabbix_export: host: 'GitLab by HTTP' key: gitlab.database.connection_pool_waiting - + uuid: ebffb6f63cf5400ab6a518612c5e857f name: 'GitLab: HTTP requests rate' graph_items: - @@ -1414,6 +1490,7 @@ zabbix_export: host: 'GitLab by HTTP' key: gitlab.http.requests.rate - + uuid: 14d4a4cc843e4c15bd72b680c18ffdd6 name: 'GitLab: Redis requests rate' graph_items: - @@ -1458,6 +1535,7 @@ zabbix_export: host: 'GitLab by HTTP' key: gitlab.redis.client_exceptions.queues.rate - + uuid: 2eafabff82a240258c50a77655f77fd9 name: 'GitLab: Ruby: File descriptors' graph_items: - @@ -1485,6 +1563,7 @@ zabbix_export: host: 'GitLab by HTTP' key: gitlab.ruby.process_max_fds - + uuid: 1c6b8a24e76f4b7390e8e8742afbedec name: 'GitLab: Ruby: RSS memory' graph_items: - |