From f7df1742fb00dc6361f4d218fdf2b22b18fef5a0 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 5 Jun 2026 18:40:58 +0100 Subject: [PATCH] fix(telemetry): drop bool close_time_correct filter from close-time panels The five Close Time panels still rendered "No Data" after the metrics rewrite. Root cause: each query carried `span.close_time_correct=~"$close_time_correct"`, but close_time_correct is a boolean span attribute and TraceQL's regex match (=~) against a bool matches nothing in a metrics query, so every panel returned an empty series set (HTTP 200, {"series":[]}). Remove that filter clause. The panels do not break down by close_time_correct, so dropping it restores data without losing any dimension. The $node filter (a string attribute) is unaffected and stays. Verified via the Grafana datasource proxy that all six targets now return series. Co-Authored-By: Claude Opus 4.8 --- .../grafana/dashboards/consensus-health.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/telemetry/grafana/dashboards/consensus-health.json b/docker/telemetry/grafana/dashboards/consensus-health.json index c5baf674ca..239c7aed9f 100644 --- a/docker/telemetry/grafana/dashboards/consensus-health.json +++ b/docker/telemetry/grafana/dashboards/consensus-health.json @@ -429,7 +429,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\"} | quantile_over_time(span.close_time_self, .5) by (resource.service.instance.id)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\"} | quantile_over_time(span.close_time_self, .5) by (resource.service.instance.id)", "legendFormat": "{{service.instance.id}}", "refId": "A" } @@ -474,7 +474,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\"} | quantile_over_time(span.close_time, .5) by (resource.service.instance.id)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\"} | quantile_over_time(span.close_time, .5) by (resource.service.instance.id)", "legendFormat": "{{service.instance.id}}", "refId": "A" } @@ -552,7 +552,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\"} | avg_over_time(span.close_time_vote_bins)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\"} | avg_over_time(span.close_time_vote_bins)", "legendFormat": "Avg Vote Bins", "refId": "A" }, @@ -562,7 +562,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\"} | avg_over_time(span.close_resolution_ms)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\"} | avg_over_time(span.close_resolution_ms)", "legendFormat": "Avg Resolution (ms)", "refId": "B" } @@ -607,7 +607,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\" && span.resolution_direction=~\"$resolution_direction\"} | count_over_time() by (span.resolution_direction)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.resolution_direction=~\"$resolution_direction\"} | count_over_time() by (span.resolution_direction)", "legendFormat": "{{span.resolution_direction}}", "refId": "A" } @@ -653,7 +653,7 @@ "uid": "tempo" }, "queryType": "traceql", - "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\" && span.close_time_correct=~\"$close_time_correct\"} | count_over_time() by (span.close_time_vote_bins)", + "query": "{name=\"consensus.accept.apply\" && resource.service.instance.id=~\"$node\"} | count_over_time() by (span.close_time_vote_bins)", "legendFormat": "{{span.close_time_vote_bins}} bins", "refId": "A" }