diff options
Diffstat (limited to 'templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml')
-rw-r--r-- | templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml b/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml index 8c553847ea4..77b59a68251 100644 --- a/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml +++ b/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml @@ -1,11 +1,13 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:59Z' groups: - + uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases templates: - + uuid: 3a0bbbb2ec0a4c58bba3ba3a3d6ce660 template: 'TiDB TiKV by HTTP' name: 'TiDB TiKV by HTTP' description: | @@ -23,6 +25,7 @@ zabbix_export: name: Templates/Databases items: - + uuid: 449a7ba908884db3af4ec8ccc0d7ea43 name: 'TiKV: Scheduler: High priority commands total, rate' type: DEPENDENT key: tikv.commands_pri.high.rate @@ -46,6 +49,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: b5ce79ee79804e76bb7b91e17915159c name: 'TiKV: Scheduler: Low priority commands total, rate' type: DEPENDENT key: tikv.commands_pri.low.rate @@ -69,6 +73,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: df3fa02457ac47168fad251727b300ff name: 'TiKV: Scheduler: Normal priority commands total, rate' type: DEPENDENT key: tikv.commands_pri.normal.rate @@ -92,6 +97,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: dbf8288b5cab4e8a95b5e7c4355676bd name: 'TiKV: Coprocessor: Requests, rate' type: DEPENDENT key: tikv.coprocessor_request.rate @@ -116,6 +122,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: d6185382a1974b9194e68bea4f14eb75 name: 'TiKV: Coprocessor: Errors, rate' type: DEPENDENT key: tikv.coprocessor_request_error.rate @@ -142,10 +149,12 @@ zabbix_export: value: 'TiKV node' triggers: - + uuid: f82a8e43852546b7b22b26a8b1eb8fd4 expression: 'min(/TiDB TiKV by HTTP/tikv.coprocessor_request_error.rate,5m)>{$TIKV.COPOCESSOR.ERRORS.MAX.WARN}' name: 'TiKV: Too many coprocessor request error (over {$TIKV.COPOCESSOR.ERRORS.MAX.WARN} in 5m)' priority: WARNING - + uuid: 237f6ba2973e472d8c20de1d61b4695c name: 'TiKV: Coprocessor: RocksDB ops, rate' type: DEPENDENT key: tikv.coprocessor_rocksdb_perf.rate @@ -170,6 +179,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 5567ebf02fb6441dbb6672e1bc77b3ab name: 'TiKV: Coprocessor: Response size, rate' type: DEPENDENT key: tikv.coprocessor_scan_keys.rate @@ -194,6 +204,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: a76665b7a9924f8cbd4a455bc248d790 name: 'TiKV: CPU util' type: DEPENDENT key: tikv.cpu.util @@ -222,6 +233,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 4558a5a11c304584bf24a7c3d2eace23 name: 'TiKV: Bytes read' type: DEPENDENT key: tikv.engine_flow_bytes.read @@ -242,6 +254,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 0d44c3c9a7f34905b0404ae39a3bc881 name: 'TiKV: Bytes write' type: DEPENDENT key: tikv.engine_flow_bytes.write @@ -262,6 +275,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: f79d5daea61842b18e39c7289657ddf5 name: 'TiKV: Store size' type: DEPENDENT key: tikv.engine_size @@ -282,6 +296,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 418bcc8c0bc440468efe833bef02929d name: 'TiKV: Get instance metrics' type: HTTP_AGENT key: tikv.get_metrics @@ -304,6 +319,7 @@ zabbix_export: tag: Application value: 'Zabbix raw items' - + uuid: fed3db7222fa41a8bf51d2ad860a22d4 name: 'TiKV: Total query, rate' type: DEPENDENT key: tikv.grpc_msg.rate @@ -328,6 +344,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: c68db41c184d44d98445cc66489ef39c name: 'TiKV: Total query errors, rate' type: DEPENDENT key: tikv.grpc_msg_fail.rate @@ -353,6 +370,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 7afa5147a1e247a5b8914d8739d31f15 name: 'TiKV: Server: failure messages total, rate' type: DEPENDENT key: tikv.messages.failure.rate @@ -377,6 +395,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: e6137dd87faa496497b23cadaa37dca9 name: 'TiKV: Regions, count' type: DEPENDENT key: tikv.region_count @@ -395,6 +414,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 2ab7643435794ec6b5a2c3eb1dd7e913 name: 'TiKV: Regions, leader' type: DEPENDENT key: tikv.region_leader @@ -413,6 +433,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 1c480fa23eaa42bcb367bb5afdcb65b9 name: 'TiKV: RSS memory usage' type: DEPENDENT key: tikv.rss_bytes @@ -433,6 +454,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 62f856cf22804262aef64e9369049332 name: 'TiKV: Scheduler: Commands total, rate' type: DEPENDENT key: tikv.scheduler_commands.rate @@ -458,6 +480,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 8b7c2dc8c60e491db76cafd2d0e1234b name: 'TiKV: Snapshot: Pending tasks' type: DEPENDENT key: tikv.scheduler_contex @@ -477,14 +500,17 @@ zabbix_export: value: 'TiKV node' triggers: - + uuid: da724f2f1f514ff98fa89683dd1861c6 expression: 'min(/TiDB TiKV by HTTP/tikv.scheduler_contex,5m)>{$TIKV.PENDING_COMMANDS.MAX.WARN}' name: 'TiKV: Too many pending commands (over {$TIKV.PENDING_COMMANDS.MAX.WARN} for 5m)' priority: AVERAGE - + uuid: 3cd5138c05e54c61ad477446d4970240 expression: 'min(/TiDB TiKV by HTTP/tikv.scheduler_contex,5m)>{$TIKV.PENDING_TASKS.MAX.WARN}' name: 'TiKV: Too many pending commands (over {$TIKV.PENDING_TASKS.MAX.WARN} for 5m)' priority: AVERAGE - + uuid: 8f5c9d2b9eca4a489d764420ee06e4b6 name: 'TiKV: Scheduler: Busy, rate' type: DEPENDENT key: tikv.scheduler_too_busy.rate @@ -509,6 +535,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 0a2d0a119bcd406aadfc5c014186c5d3 name: 'TiKV: Snapshot: Applying' type: DEPENDENT key: tikv.snapshot.applying @@ -527,6 +554,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 58559be859d64887a1b919e36aa1e336 name: 'TiKV: Snapshot: Receiving' type: DEPENDENT key: tikv.snapshot.receiving @@ -545,6 +573,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 0ae6a2024ed3488498e22bc542d27619 name: 'TiKV: Snapshot: Sending' type: DEPENDENT key: tikv.snapshot.sending @@ -563,6 +592,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: ce31318a420d40668e62a47fe19d3d40 name: 'TiKV: Storage: commands total, rate' type: DEPENDENT key: tikv.storage_command.rate @@ -586,6 +616,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: fbfaa0d967c049c0a1bbcec5afea4bf2 name: 'TiKV: Available size' type: DEPENDENT key: tikv.store_size.available @@ -606,6 +637,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 1e0c1c071b604e77998797c2f9d41dfc name: 'TiKV: Capacity size' type: DEPENDENT key: tikv.store_size.capacity @@ -626,6 +658,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: f2632dbd773140398a7d61608d85f392 name: 'TiKV: Uptime' type: DEPENDENT key: tikv.uptime @@ -653,6 +686,7 @@ zabbix_export: value: 'TiKV node' triggers: - + uuid: ca06602fa0b64a2ba0c51ed4835c52b2 expression: 'last(/TiDB TiKV by HTTP/tikv.uptime)<10m' name: 'TiKV: has been restarted (uptime < 10m)' priority: INFO @@ -660,6 +694,7 @@ zabbix_export: manual_close: 'YES' discovery_rules: - + uuid: f1c7de94679e40a4ac6f569e05ad61d0 name: 'Coprocessor metrics discovery' type: DEPENDENT key: tikv.coprocessor.discovery @@ -667,6 +702,7 @@ zabbix_export: description: 'Discovery coprocessor metrics.' item_prototypes: - + uuid: ecbe08549fef42d5aad0369e861b4c20 name: 'TiKV: Coprocessor: {#REQ_TYPE} requests, rate' type: DEPENDENT key: 'tikv.coprocessor_request.rate[{#REQ_TYPE}]' @@ -691,6 +727,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 08060401409b4fff97430c595fec7b82 name: 'TiKV: Coprocessor: {#REQ_TYPE} errors, rate' type: DEPENDENT key: 'tikv.coprocessor_request_error.rate[{#REQ_TYPE}]' @@ -716,6 +753,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: bff6ee970f7349edba6cac1cd0da70ed name: 'TiKV: Coprocessor: {#REQ_TYPE} RocksDB ops, rate' type: DEPENDENT key: 'tikv.coprocessor_rocksdb_perf.rate[{#REQ_TYPE}]' @@ -740,6 +778,7 @@ zabbix_export: tag: Application value: 'TiKV node' - + uuid: 8ef93de8a25b4f35b2e54f6ced4a5bd2 name: 'TiKV: Coprocessor: {#REQ_TYPE} scan keys, rate' type: DEPENDENT key: 'tikv.coprocessor_scan_keys.rate[{#REQ_TYPE}]' @@ -784,6 +823,7 @@ zabbix_export: parameters: - 1h - + uuid: 39e4031ee41143ed9d0c84492f817125 name: 'QPS metrics discovery' type: DEPENDENT key: tikv.qps.discovery @@ -791,6 +831,7 @@ zabbix_export: description: 'Discovery QPS metrics.' item_prototypes: - + uuid: 3b1d1b10cee6465c822152072189ebbe name: 'TiKV: Query: {#TYPE}, rate' type: DEPENDENT key: 'tikv.grpc_msg.rate[{#TYPE}]' @@ -832,6 +873,7 @@ zabbix_export: parameters: - 1h - + uuid: 7168e631146546129284cbf9c52b2025 name: 'Scheduler metrics discovery' type: DEPENDENT key: tikv.scheduler.discovery @@ -839,6 +881,7 @@ zabbix_export: description: 'Discovery scheduler metrics.' item_prototypes: - + uuid: c4f902a0be5444b2babb1775b89a6827 name: 'TiKV: Scheduler: commands {#STAGE}, rate' type: DEPENDENT key: 'tikv.scheduler_stage.rate[{#STAGE}]' @@ -891,6 +934,7 @@ zabbix_export: parameters: - 1h - + uuid: 5ebd2e2131ab4a9f8ca63f0e490b04a3 name: 'Server errors discovery' type: DEPENDENT key: tikv.server_report_failure.discovery @@ -898,6 +942,7 @@ zabbix_export: description: 'Discovery server errors metrics.' item_prototypes: - + uuid: 064e74b5484e42e4acf3122c8ead4826 name: 'TiKV: Store_id {#STORE_ID}: failure messages "{#TYPE}", rate' type: DEPENDENT key: 'tikv.messages.failure.rate[{#STORE_ID},{#TYPE}]' @@ -922,6 +967,7 @@ zabbix_export: value: 'TiKV node' trigger_prototypes: - + uuid: edc1b649a9724ca88329e77ae7a1201a expression: 'min(/TiDB TiKV by HTTP/tikv.messages.failure.rate[{#STORE_ID},{#TYPE}],5m)>{$TIKV.STORE.ERRORS.MAX.WARN}' name: 'TiKV: Store_id {#STORE_ID}: Too many failure messages "{#TYPE}" (over {$TIKV.STORE.ERRORS.MAX.WARN} in 5m)' discover: NO_DISCOVER @@ -994,6 +1040,7 @@ zabbix_export: description: 'TiKV server URL' graphs: - + uuid: cdca8a2bb2bb486da8c57740acc431d6 name: 'TiKV: Scheduler priority commands rate' graph_items: - @@ -1014,6 +1061,7 @@ zabbix_export: host: 'TiDB TiKV by HTTP' key: tikv.commands_pri.low.rate - + uuid: 93a38153ed8b44a49849cb1f920f50a4 name: 'TiKV: Snapshot state count' graph_items: - |