Compare commits

...

65 Commits

Author SHA1 Message Date
828de1bf67 add missing in PG dashboard 2025-12-05 11:12:21 +03:00
667f5ad8e8 fix status 2025-12-03 15:13:03 +03:00
d961052058 lil fix in auth 2025-12-03 13:19:28 +03:00
32cbb4ea92 Change auth 2025-12-03 10:24:54 +03:00
af8d923020 add auth dashboard 2025-12-02 19:26:19 +03:00
961288729c lil fix 2025-11-28 10:12:44 +03:00
fb16ef584f changes yandex 2025-11-28 10:10:32 +03:00
dfd88a2eee Fix TUSD 2025-11-10 15:54:04 +03:00
694c30fb6d add stage1 2025-11-06 13:02:58 +03:00
46ce79dadb tusd changes 2025-10-17 12:52:23 +03:00
ec98871849 lil changes 2025-10-15 11:26:12 +03:00
995105f6dd add node logs + change postgres exporter 2025-10-15 11:20:49 +03:00
2b36cd1115 lil changes in redis dashboard 2025-10-03 14:28:47 +03:00
cd9c64a91c update k8s overwiew add clusterfilter 2025-09-24 14:10:48 +03:00
68be8da5ac change redis dashboard (add filtration) 2025-09-17 17:17:38 +03:00
bca1506ca4 change postgres exporter 2025-09-17 15:23:54 +03:00
5d652d71ec rename 2025-09-16 18:00:37 +03:00
8ce0d2e74c k8s-overview changes 2025-09-16 17:57:50 +03:00
0be447fbc1 change metrics dashboard 2025-09-16 17:43:11 +03:00
4f67a43036 dashboard little fix 2025-09-16 17:19:07 +03:00
575ecb3070 add nginx metrics dashboards 2025-09-16 17:02:17 +03:00
ff6aa30074 change redis 2025-09-16 11:15:01 +03:00
a62410c605 and rename again 2025-09-15 16:46:16 +03:00
97d20d0f8a rename 2025-09-15 16:44:30 +03:00
c931a85b66 Proxmox + PGexporter dashboard changes 2025-09-15 16:33:45 +03:00
929c93e986 add redis mon dashboard 2025-09-15 16:23:49 +03:00
8f6a51c5b6 add test 2025-09-06 02:31:08 +03:00
ff9904cee2 nginx 2025-08-29 15:43:21 +00:00
24cbc79c05 update tusd 2025-08-28 14:33:58 +00:00
1152c26af8 update legacy 2 2025-08-28 11:25:49 +00:00
3e4cfb1a88 update legacy 1 2025-08-28 11:25:20 +00:00
2d05078dcc update tusd 2025-08-28 11:24:52 +00:00
1d22638487 k8s delete tags 2025-08-28 11:18:10 +00:00
5829567fe6 nvidea delete tag 2025-08-28 11:16:41 +00:00
25e6123b59 Changes dashboard 2025-08-28 10:44:27 +00:00
eab6e526ad Обновить postgresexporter.json 2025-08-15 10:11:45 +00:00
ecf0eabd70 Обновить tusd_metrics.json 2025-08-13 14:58:42 +00:00
a8f4b9a36b Обновить nginx-monitoring-ingress.json 2025-08-13 14:57:25 +00:00
1910a4e726 Загрузить файлы в «/» 2025-08-13 14:57:02 +00:00
770e0d9d3f Удалить postgresexporter-monitoring.json 2025-08-13 14:54:29 +00:00
17dd583777 Обновить cadvisor_containers.json 2025-08-13 14:47:19 +00:00
82df58a432 Обновить cadvisor.json 2025-08-13 14:46:58 +00:00
8e91564f9b Обновить k8s_details.json 2025-08-13 14:46:32 +00:00
a80a10211a Обновить k8s_overview.json 2025-08-13 14:45:53 +00:00
0c8dfed4ea Обновить logs_apps_k8s.json 2025-08-13 14:45:09 +00:00
8a5f666b57 Обновить logs_apps_new.json 2025-08-13 14:44:43 +00:00
1387cde28d Обновить logs_k8s.json 2025-08-13 14:43:52 +00:00
ee8ece3537 Обновить logs_raw_new.json 2025-08-13 14:43:28 +00:00
e2c81367d6 Обновить proxmox.json 2025-08-13 14:40:06 +00:00
6b6cb9bc7e Обновить proxmox.json 2025-08-13 14:36:36 +00:00
52de49f970 Обновить postgresexporter-monitoring.json 2025-08-13 14:16:34 +00:00
85246075d5 add ex 2025-08-13 17:09:45 +03:00
c058d548b8 f 2025-08-13 17:08:12 +03:00
ad2261656b Обновить postgresexporter-monitoring.json 2025-08-13 14:01:49 +00:00
abd15e4b5a Обновить postgresexporter-monitoring.json 2025-08-13 13:51:01 +00:00
4d297c0ac1 Обновить postgresexporter-monitoring.json 2025-08-13 13:50:11 +00:00
ed82b27996 Обновить postgresexporter-monitoring.json 2025-08-13 13:48:16 +00:00
33057fc8e1 Обновить postgresexporter-monitoring.json 2025-08-13 13:46:07 +00:00
af19b39329 Обновить PostgresExporter-monitoring.json 2025-08-13 13:45:51 +00:00
3523f11432 Загрузить файлы в «/» 2025-08-13 13:45:22 +00:00
4402d9d8e6 Merge branch 'main' of bb.hublab.ru:HUB/grafana-dashboards 2025-08-11 11:39:21 +03:00
62acdc259a fix 2025-08-11 11:39:19 +03:00
a87f882afd yandex dashboard json 2025-06-04 09:50:14 +00:00
e751c5c55a Merge branch 'main' of bb.hublab.ru:HUB/grafana-dashboards 2025-05-22 12:29:55 +03:00
1717a9371b update source 2025-05-22 12:29:33 +03:00
23 changed files with 28064 additions and 12279 deletions

691
auth.json Normal file
View File

@@ -0,0 +1,691 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 42,
"links": [],
"panels": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "оставшиеся баланс по провайдеру",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"noValue": "There are no TgProvider calls in the selected range",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 6,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^\\{\\}$/",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "min(\r\n last_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"TgProvider.send_code.success\"\r\n | json\r\n | unwrap extra_result_remaining_balance\r\n [5m])\r\n)",
"queryType": "range",
"refId": "A"
}
],
"title": "Remaining balance TgProvider",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "Ошибки TgProvider \n(номер / ошибка / request_id)",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 10,
"x": 6,
"y": 0
},
"id": 6,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "{cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n|= \"TgProvider.send_code.error\"\r\n| json\r\n| line_format \"{{.phone}} | {{.error_error}} | req={{.x_request_id}}\"\r\n",
"queryType": "range",
"refId": "A"
}
],
"title": "TgProvider errors",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"includeByName": {},
"indexByName": {
"Line": 0,
"Time": 2,
"id": 5,
"labelTypes": 4,
"labels": 1,
"tsNs": 3
},
"orderByMode": "manual",
"renameByName": {
"Time": "",
"labels": "vvf",
"tsNs": ""
}
}
}
],
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"noValue": "No flashcall errors for now",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.width",
"value": 181
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 8,
"x": 16,
"y": 0
},
"id": 3,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Flashcalls errors"
}
]
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "{cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n|= \"PlusofonProvider.send_code.raw_response\"\r\n| json\r\n|= \"Flashcall is blocked. Please top up your balance\"\r\n| line_format \"{{.message}} | {{.response_text}} | {{.request_url}}\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Flashcall is blocked",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Line": false,
"id": true,
"labelTypes": true,
"labels": true,
"tsNs": true
},
"includeByName": {},
"indexByName": {},
"renameByName": {
"Line": "Flashcalls errors"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 16,
"w": 6,
"x": 0,
"y": 12
},
"id": 1,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "{cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n|= \"TgProvider.send_code.success\"\r\n| json\r\n| line_format \"phone={{.phone}} remaining_balance={{.extra_result_remaining_balance}}\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Users of TgProvider",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "кол-во по вызываемому методу",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 18,
"x": 6,
"y": 12
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum by (method, requested_method) (\r\n count_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"AuthService.send_auth_code.method\"\r\n | json\r\n [5m])\r\n)\r\n",
"legendFormat": "{{method}}:{{requested_method}}",
"queryType": "range",
"refId": "A"
}
],
"title": "AuthService.send_auth_code.method",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "Проценты успешных завершений у \nAuthService.send_auth_code\n(finish / start)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"C"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 10,
"x": 6,
"y": 20
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum by () (\r\n count_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"AuthService.send_auth_code.start\"\r\n [1m])\r\n)",
"hide": true,
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum by () (\r\n count_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"AuthService.send_auth_code.finish\"\r\n [1m])\r\n)",
"hide": true,
"queryType": "range",
"refId": "B"
},
{
"datasource": {
"name": "Expression",
"type": "__expr__",
"uid": "__expr__"
},
"expression": "$B / $A * 100",
"hide": false,
"refId": "C",
"type": "math"
}
],
"title": "Succes AuthService.send_auth_code ( in Percent)",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "полная динамика начала/конца AuthService.send_auth_code",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 20
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum by () (\r\n count_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"AuthService.send_auth_code.start\"\r\n [1m])\r\n)",
"legendFormat": "send_auth_code.start\"",
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum by () (\r\n count_over_time(\r\n {cluster=\"yandex-prod\", job=\"prod/backend-sms-service\"}\r\n |= \"AuthService.send_auth_code.finish\"\r\n [1m])\r\n)",
"hide": false,
"legendFormat": "send_auth_code.finish",
"queryType": "range",
"refId": "B"
}
],
"title": "AuthService.send_auth_code (real dynamic)",
"type": "timeseries"
}
],
"preload": false,
"schemaVersion": 41,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Auth-dashboard",
"uid": "8c0c0b3b-46fe-472c-9e07-af507f2bcba5",
"version": 2
}

View File

@@ -728,10 +728,7 @@
"preload": false,
"refresh": "",
"schemaVersion": 40,
"tags": [
"cadvisor",
"docker"
],
"tags": [],
"templating": {
"list": [
{
@@ -785,7 +782,7 @@
"timepicker": {},
"timezone": "",
"title": "Docker overview",
"uid": "pMEd7m0Mz",
"uid": "cadvisor-uid",
"version": 3,
"weekStart": ""
}

View File

@@ -1091,10 +1091,7 @@
"preload": false,
"refresh": "5s",
"schemaVersion": 40,
"tags": [
"cadvisor",
"docker"
],
"tags": [],
"templating": {
"list": [
{
@@ -1155,7 +1152,7 @@
"timepicker": {},
"timezone": "",
"title": "Docker containers Overview",
"uid": "ae3c41d7-cea5-4cca-a918-5708706b4d1a",
"uid": "cadvisor-containers-uid",
"version": 8,
"weekStart": ""
}

View File

@@ -6544,10 +6544,7 @@
"preload": false,
"refresh": "",
"schemaVersion": 40,
"tags": [
"Prometheus",
"Kubernetes"
],
"tags": [],
"templating": {
"list": [
{
@@ -6691,7 +6688,7 @@
},
"timezone": "browser",
"title": "K8S Dashboard",
"uid": "fegpe30wmbn5sd",
"uid": "k8s-details-uid",
"version": 17,
"weekStart": ""
}

File diff suppressed because it is too large Load Diff

View File

@@ -20,7 +20,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 14,
"id": 18,
"links": [
{
"$$hashKey": "object:59",
@@ -93,7 +93,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": 0
},
{
"color": "red",
@@ -125,7 +126,7 @@
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
@@ -171,7 +172,7 @@
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "11.6.0",
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
@@ -200,31 +201,37 @@
"list": [
{
"current": {
"text": "main",
"value": "main"
"text": "local",
"value": "local"
},
"datasource": {
"type": "loki",
"uid": "loki"
},
"definition": "",
"name": "cluster",
"options": [
{
"selected": true,
"text": "main",
"value": "main"
}
],
"query": "main",
"type": "custom"
"options": [],
"query": {
"label": "cluster",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"allowCustomValue": false,
"current": {
"text": "prod",
"value": "prod"
"text": "stage1",
"value": "stage1"
},
"label": "Env",
"name": "env",
"options": [
{
"selected": true,
"selected": false,
"text": "prod",
"value": "prod"
},
@@ -232,9 +239,14 @@
"selected": false,
"text": "stage",
"value": "stage"
},
{
"selected": true,
"text": "stage1",
"value": "stage1"
}
],
"query": "prod,stage",
"query": "prod,stage,stage1",
"type": "custom"
},
{
@@ -242,9 +254,7 @@
"allowCustomValue": false,
"current": {
"text": "All",
"value": [
"$__all"
]
"value": "$__all"
},
"datasource": "loki",
"definition": "",
@@ -301,6 +311,6 @@
},
"timezone": "",
"title": "Logs / Apps K8S",
"uid": "beiom6lpqs3r4c",
"version": 5
"uid": "new-k8s-dachboard-app",
"version": 2
}

View File

@@ -291,7 +291,7 @@
},
"timezone": "",
"title": "Logs / App",
"uid": "eei5yj9kwbev4f",
"uid": "logs-apps-new-uid",
"version": 9,
"weekStart": ""
}

View File

@@ -197,19 +197,25 @@
"list": [
{
"current": {
"text": "main",
"value": "main"
"text": "yandex",
"value": "yandex"
},
"datasource": {
"type": "loki",
"uid": "loki"
},
"definition": "",
"name": "cluster",
"options": [
{
"selected": true,
"text": "main",
"value": "main"
}
],
"query": "main",
"type": "custom"
"options": [],
"query": {
"label": "cluster",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"allValue": ".*",
@@ -271,7 +277,7 @@
},
"timezone": "",
"title": "Logs / K8S",
"uid": "aehb1lkwdv6kge",
"uid": "logs-k8s-uid",
"version": 12,
"weekStart": ""
}

View File

@@ -291,7 +291,7 @@
},
"timezone": "",
"title": "Logs / Raw",
"uid": "bei5zrqn2uww0d",
"uid": "logs-raw-new-uid",
"version": 1,
"weekStart": ""
}

1981
nginx-metrics.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,596 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 19,
"links": [],
"panels": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "count_over_time({service_name=\"ingress-nginx\", cluster=\"$cluster\"}[1m])",
"queryType": "range",
"refId": "A"
}
],
"title": "Requests per Minute",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 8
},
"id": 11,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "{service_name=\"ingress-nginx\", cluster=\"$cluster\"} |= \"error\" != \"/error\"",
"queryType": "range",
"refId": "K"
}
],
"title": "Latest NGINX Errors",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 14
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "sum(\r\n count_over_time(\r\n {service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n | pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n | status=~\"4..\"\r\n [1m]\r\n )\r\n)",
"legendFormat": "Errors 4**",
"queryType": "range",
"refId": "A"
}
],
"title": "4xx errors per minute",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 14
},
"id": 4,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "{service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n| pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n| status=~\"4..\"\r\n| line_format \"{{.status}} {{.method}} {{.path}} time={{.req_time}}\"\r\n",
"legendFormat": "",
"queryType": "range",
"refId": "D"
}
],
"title": "4xx Responses ",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 22
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "sum(\r\n count_over_time(\r\n {service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n | pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n | status=~\"5..\"\r\n [1m]\r\n )\r\n)",
"legendFormat": "Errors 5**",
"queryType": "range",
"refId": "A"
}
],
"title": "5xx errors per minute",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 22
},
"id": 19,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "{service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n| pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n| status=~\"5..\"\r\n| line_format \"{{.status}} {{.method}} {{.path}} time={{.req_time}}\"\r\n",
"legendFormat": "",
"queryType": "range",
"refId": "D"
}
],
"title": "5xx Responses ",
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "sum(\r\n count_over_time(\r\n {service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n | pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n | status=~\"2..\"\r\n [1m]\r\n )\r\n)",
"legendFormat": "Status 2**",
"queryType": "range",
"refId": "A"
}
],
"title": "2xx status code per minute",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 30
},
"id": 18,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "11.6.0",
"targets": [
{
"direction": "backward",
"editorMode": "code",
"expr": "{service_name=\"ingress-nginx\", cluster=\"$cluster\"}\r\n| pattern \"<ip> - - [<timestamp>] \\\"<method> <path> <protocol>\\\" <status> <size> \\\"<referrer>\\\" \\\"<user_agent>\\\" <req_len> <req_time> [<upstream>] [<unknown>] <rest>\"\r\n| status=~\"2..\"\r\n| line_format \"{{.status}} {{.method}} {{.path}} time={{.req_time}}\"\r\n",
"legendFormat": "",
"queryType": "range",
"refId": "D"
}
],
"title": "2xx Responses ",
"type": "logs"
}
],
"preload": false,
"refresh": "30s",
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "yandex-prod",
"value": "yandex-prod"
},
"definition": "label_values(cluster)",
"name": "cluster",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(cluster)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "NGINX Monitoring",
"uid": "0e49c387-06f8-4259-9b90-46137d495a9e",
"version": 2
}

288
node-logs.json Normal file
View File

@@ -0,0 +1,288 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Node logs",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 20,
"links": [],
"liveNow": true,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "bars",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "sum(count_over_time({cluster=~\"$cluster\", instance=~\"$Node\", job=~\"integrations/kubernetes/journal\"} |~ \"$search\"[$__interval]))",
"instant": false,
"legendFormat": "Log count",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "Log count",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 16,
"w": 24,
"x": 0,
"y": 5
},
"id": 3,
"options": {
"dedupStrategy": "exact",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": true,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "loki"
},
"direction": "backward",
"editorMode": "code",
"expr": "{cluster=~\"$cluster\", instance=~\"$Node\", job=~\"integrations/kubernetes/journal\"} |~ `(?i)$search`",
"queryType": "range",
"refId": "A"
}
],
"title": "Logs Panel",
"type": "logs"
}
],
"preload": false,
"refresh": "10s",
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"allValue": ".+",
"current": {
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "loki",
"uid": "loki"
},
"definition": "",
"description": "",
"includeAll": true,
"label": "Cluster",
"name": "cluster",
"options": [],
"query": {
"label": "cluster",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"allValue": ".+",
"current": {
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "loki",
"uid": "loki"
},
"definition": "",
"includeAll": true,
"label": "Node",
"name": "Node",
"options": [],
"query": {
"label": "node",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "{cluster=~\"$cluster\"}",
"type": 1
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"current": {
"text": "warn|error|fatal",
"value": "warn|error|fatal"
},
"includeAll": false,
"label": "Search Term",
"name": "search",
"options": [
{
"selected": false,
"text": "error|fatal",
"value": "error|fatal"
},
{
"selected": true,
"text": "warn|error|fatal",
"value": "warn|error|fatal"
},
{
"selected": false,
"text": "fatal",
"value": "fatal"
},
{
"selected": false,
"text": "error",
"value": "error"
},
{
"selected": false,
"text": "warn",
"value": "warn"
},
{
"selected": false,
"text": "info",
"value": "info"
},
{
"selected": false,
"text": ".+",
"value": ".+"
}
],
"query": "error|fatal,warn|error|fatal,fatal,error,warn,info,.+",
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Node logs",
"uid": "ae3ec2c4-1c19-4450-9403-226270fe0c4f",
"version": 14
}

View File

@@ -2084,12 +2084,7 @@
"preload": false,
"refresh": "10s",
"schemaVersion": 40,
"tags": [
"nvidia",
"nvidia-smi",
"nvidia_gpu_exporter",
"prometheus"
],
"tags": [],
"templating": {
"list": [
{

3754
postgresexporter.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1520
proxmox2.json Normal file

File diff suppressed because it is too large Load Diff

1783
redis-monitoring.json Normal file

File diff suppressed because it is too large Load Diff

1508
redis.json Normal file

File diff suppressed because it is too large Load Diff

1556
redis2.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,946 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 41,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "Total time for NGINX and upstream servers to process a request and send a response",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 91,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n nginx_ingress_controller_request_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"legendFormat": ".5",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n nginx_ingress_controller_request_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"legendFormat": ".95",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n nginx_ingress_controller_request_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"legendFormat": ".99",
"refId": "A"
}
],
"title": "Request Latency Percentiles",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "The time spent on receiving the response from the upstream server",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 94,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n nginx_ingress_controller_response_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": ".5",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n nginx_ingress_controller_response_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"legendFormat": ".95",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n nginx_ingress_controller_response_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"legendFormat": ".99",
"refId": "A"
}
],
"title": "Upstream Response Latency Percentiles",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 93,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": " sum by (method, host, path)(\n rate(\n nginx_ingress_controller_request_duration_seconds_count{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }}",
"refId": "A"
}
],
"title": "Request Rate by Method and Path",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "For each path observed, its median upstream response time",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 98,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "histogram_quantile(\n .5,\n sum by (le, method, host, path)(\n rate(\n nginx_ingress_controller_response_duration_seconds_bucket{\n ingress =~ \"$ingress\"\n }[5m]\n )\n )\n)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }}",
"refId": "A"
}
],
"title": "Median Upstream Response Time by Method and Path",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "Percentage of 4xx and 5xx responses among all responses.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 100,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "sum by (method, host, path) (rate(nginx_ingress_controller_request_duration_seconds_count{\n ingress =~ \"$ingress\",\n status =~ \"[4-5].*\"\n}[5m])) / sum by (method, host, path) (rate(nginx_ingress_controller_request_duration_seconds_count{\n ingress =~ \"$ingress\",\n}[5m]))",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }}",
"refId": "A"
}
],
"title": "Response Error Rate by Method and Path",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "For each path observed, the sum of upstream request time",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 102,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "sum by (method, host, path) (rate(nginx_ingress_controller_response_duration_seconds_sum{ingress =~ \"$ingress\"}[5m]))",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }}",
"refId": "A"
}
],
"title": "Upstream Response Time by Method and Path",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"id": 101,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": " sum (\n rate(\n nginx_ingress_controller_request_duration_seconds_count{\n ingress =~ \"$ingress\",\n status =~\"[4-5].*\",\n }[5m]\n )\n ) by(method, host, path, status)\n",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }} {{ status }}",
"refId": "A"
}
],
"title": "Response Error Rate by Method and Path",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"id": 99,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": "sum (\n rate (\n nginx_ingress_controller_response_size_sum {\n ingress =~ \"$ingress\",\n }[5m]\n )\n) by (method, host, path) / sum (\n rate(\n nginx_ingress_controller_response_size_count {\n ingress =~ \"$ingress\",\n }[5m]\n )\n) by (method, host, path)\n",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ method }} {{ host }}{{path }}",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"expr": " sum (rate(nginx_ingress_controller_response_size_bucket{\n ingress =~ \"$ingress\",\n }[5m])) by (le)\n",
"hide": true,
"legendFormat": "{{le}}",
"refId": "A"
}
],
"title": "Average Response Size by Method and Path",
"type": "timeseries"
}
],
"preload": false,
"refresh": "30s",
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "yandex",
"value": "yandex"
},
"definition": "label_values(kube_node_info,cluster)",
"label": "Cluster",
"name": "cluster",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(kube_node_info,cluster)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"current": {
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"definition": "label_values(nginx_ingress_controller_requests{cluster=~\"$cluster\"},ingress)",
"includeAll": true,
"label": "Service Ingress",
"name": "ingress",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(nginx_ingress_controller_requests{cluster=~\"$cluster\"},ingress)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"sort": 2,
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"2m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
"title": "Request Handling Performance",
"uid": "request-handing-perfomance-dashboard",
"version": 5
}

View File

@@ -307,7 +307,7 @@
"uid": "prom"
},
"editorMode": "code",
"expr": "sum(srs_streams * on(instance) group_left(tag,label) srs_build_info {tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"expr": "sum(srs_streams * on(pod) group_left(tag,label) srs_build_info {tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"range": true,
"rawQuery": true,
"refId": "A"
@@ -375,7 +375,7 @@
"type": "prometheus",
"uid": "prom"
},
"expr": "sum(srs_clients * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"expr": "sum(srs_clients * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"refId": "A"
}
],
@@ -441,7 +441,7 @@
"type": "prometheus",
"uid": "prom"
},
"expr": "sum(srs_clients_total* on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"expr": "sum(srs_clients_total* on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})",
"refId": "A"
}
],
@@ -508,7 +508,7 @@
"uid": "prom"
},
"editorMode": "code",
"expr": "(sum(srs_clients_total * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}) - sum(srs_clients_errs_total * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})) / sum(srs_clients_total * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}) * 100",
"expr": "(sum(srs_clients_total * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}) - sum(srs_clients_errs_total * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"})) / sum(srs_clients_total * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}) * 100",
"range": true,
"refId": "A"
}
@@ -812,7 +812,7 @@
"type": "prometheus",
"uid": "prom"
},
"expr": "srs_streams * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "srs_streams * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"refId": "A"
}
],
@@ -934,7 +934,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "srs_clients * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "srs_clients * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"format": "time_series",
"instant": false,
"interval": "",
@@ -1041,7 +1041,7 @@
"type": "prometheus",
"uid": "prom"
},
"expr": "rate(srs_send_bytes_total[30s])*8/1000 * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "rate(srs_send_bytes_total[30s])*8/1000 * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"refId": "A"
}
],
@@ -1144,7 +1144,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(srs_receive_bytes_total[30s])*8/1000 * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "rate(srs_receive_bytes_total[30s])*8/1000 * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"interval": "",
"range": true,
"refId": "A"
@@ -1246,7 +1246,7 @@
"uid": "prom"
},
"editorMode": "code",
"expr": "srs_clients_total * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "srs_clients_total * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"range": true,
"rawQuery": true,
"refId": "A"
@@ -1343,7 +1343,7 @@
"type": "prometheus",
"uid": "prom"
},
"expr": "srs_clients_errs_total * on(instance) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"expr": "srs_clients_errs_total * on(pod) group_left(tag,label) srs_build_info{tag=~\"$server_role\",instance=~\"$instance\",label=~\"$zone\"}",
"refId": "A"
}
],

2090
tusd_metrics.json Normal file

File diff suppressed because it is too large Load Diff

869
yandex.json Normal file
View File

@@ -0,0 +1,869 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 38,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [],
"title": "Global",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "Количество сообщений в очереди",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 1
},
"id": 1,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 15,
"valueSize": 20
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum by (queue) (\r\n queue_messages_stored_count{job=\"integrations/yandex\"}\r\n)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Count stored messages from queue",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "queue_messages_oldest_age_milliseconds{queue=~\"$queue\"} / 1000",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "{{queue}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Oldest age of message in queue",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"editorMode": "code",
"expr": "sum by (queue) (\r\n rate(queue_messages_empty_receive_attempts_count_per_second{job=\"integrations/yandex\", queue=~\"$queue\"}[10m])\r\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Empty attempts to read from the queue",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"editorMode": "code",
"expr": "sum by (method) (\r\n rate(api_http_requests_count_per_second{job=\"integrations/yandex\", queue=~\"$queue\"}[10m])\r\n)\r\n",
"legendFormat": "{{method}}",
"range": true,
"refId": "A"
}
],
"title": "Sum requests",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"editorMode": "code",
"expr": "sum by (queue) (\r\n rate(queue_messages_deleted_count_per_second{job=\"integrations/yandex\", queue=~\"$queue\"}[5m])\r\n)\r\n",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Number of deleted messages",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 11,
"panels": [],
"title": "Errors, fails and etc",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "показывает холостые запросы",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 25
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "queue_messages_empty_receive_attempts_count_per_second{queue=~\"$queue\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "{{queue}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Empty receive attempts / sec",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "Таймауты в очередях",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 25
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "queue_messages_request_timeouts_count_per_second{queue=~\"$queue\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "timeout per {{queue}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Request timeouts / sec",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"description": "удаленные пользователем или очередь чистится через purge",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 33
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"disableTextWrap": false,
"editorMode": "builder",
"expr": "queue_messages_deleted_count_per_second{queue=~\"$queue\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "deleted messages in {{queue}}",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "queue_messages_purged_count_per_second{queue=~\"$queue\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "purged messages in {{queue}}",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Deleted vs Purged (stacked)",
"type": "timeseries"
}
],
"preload": false,
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "prom"
},
"definition": "label_values(queue_messages_received_count_per_second{job=\"integrations/yandex\"},queue)",
"description": "\n\n",
"includeAll": true,
"label": "queue",
"multi": true,
"name": "queue",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(queue_messages_received_count_per_second{job=\"integrations/yandex\"},queue)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 2,
"regex": "",
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Yandex queue",
"uid": "c8b4085d-new-dashboard-queue",
"version": 15
}