Bound Tempo blocks and complete telemetry diagnostics

This commit is contained in:
Самохвалов Андрей Ремович
2026-10-02 17:06:13 +03:00
parent 43bcde73de
commit f1963e5f19
5 changed files with 36 additions and 10 deletions
+18 -4
View File
@@ -94,7 +94,7 @@
"targets": [
{
"refId": "A",
"expr": "sum(rate(messenger_http_requests_total{status_class=\"5xx\",route!~\"/health/.*\"}[1m])) / clamp_min(sum(rate(messenger_http_requests_total{route!~\"/health/.*\"}[1m])),0.001)",
"expr": "(sum(rate(messenger_http_requests_total{status_class=\"5xx\",route!~\"/health/.*\"}[1m])) or vector(0)) / clamp_min(sum(rate(messenger_http_requests_total{route!~\"/health/.*\"}[1m])),0.001)",
"legendFormat": "series 1"
}
],
@@ -519,17 +519,17 @@
},
{
"refId": "B",
"expr": "sum(rate(otelcol_exporter_send_failed_metric_points_total[1m]))",
"expr": "sum(rate(otelcol_exporter_send_failed_metric_points[1m]))",
"legendFormat": "series 2"
},
{
"refId": "C",
"expr": "sum(rate(otelcol_exporter_send_failed_log_records_total[1m]))",
"expr": "sum(rate(otelcol_exporter_send_failed_log_records[1m]))",
"legendFormat": "series 3"
},
{
"refId": "D",
"expr": "sum(rate(otelcol_exporter_send_failed_spans_total[1m]))",
"expr": "sum(rate(otelcol_exporter_send_failed_spans[1m]))",
"legendFormat": "series 4"
}
],
@@ -587,6 +587,20 @@
"x": 0,
"y": 56
}
},
{
"id": 16,
"type": "timeseries",
"title": "HTTP 4xx RPS (client responses)",
"datasource": {"type": "prometheus", "uid": "prometheus"},
"targets": [{
"refId": "A",
"expr": "sum(rate(messenger_http_requests_total{status_class=\"4xx\",route!~\"/health/.*\"}[1m])) or vector(0)",
"legendFormat": "4xx"
}],
"fieldConfig": {"defaults": {"unit": "reqps", "min": 0}, "overrides": []},
"options": {"legend": {"displayMode": "list", "placement": "bottom"}},
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 56}
}
]
}
+5
View File
@@ -8,6 +8,11 @@ distributor:
grpc:
endpoint: 0.0.0.0:4317
ingester:
max_block_bytes: 5000000
max_block_duration: 1m
concurrent_flushes: 1
storage:
trace:
backend: local