Skip to content

Commit

Permalink
Ops: Fix envoy writes dash (#4604)
Browse files Browse the repository at this point in the history
* Fix envoy writes dash

Signed-off-by: Joe Elliott <[email protected]>

* fix generated dash

Signed-off-by: Joe Elliott <[email protected]>

---------

Signed-off-by: Joe Elliott <[email protected]>
  • Loading branch information
joe-elliott authored Jan 23, 2025
1 parent 887c66c commit 55c71fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (grpc_status) (\n rate(\n label_replace(\n {cluster=~\"$cluster\", job=~\"($namespace)/cortex-gw(-internal)?\", __name__=~\"envoy_cluster_grpc_proto_collector_trace_v1_TraceService_[0-9]+\"},\n \"grpc_status\", \"$1\", \"__name__\", \"envoy_cluster_grpc_proto_collector_trace_v1_TraceService_(.+)\"\n )\n [$__interval:$__interval]\n )\n)\n",
"expr": "sum by (grpc_status) (\n rate(\n label_replace(\n {cluster=~\"$cluster\", job=~\"($namespace)/cortex-gw(-internal)?\", __name__=~\"envoy_cluster_grpc_proto_collector_trace_v1_TraceService_[0-9]+\"},\n \"grpc_status\", \"$1\", \"__name__\", \"envoy_cluster_grpc_proto_collector_trace_v1_TraceService_(.+)\"\n )\n [$__rate_interval:30s]\n )\n)\n",
"format": "time_series",
"interval": "1m",
"legendFormat": "{{grpc_status}}",
Expand Down
2 changes: 1 addition & 1 deletion operations/tempo-mixin/dashboards/tempo-writes.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dashboard_utils {
{%s, __name__=~"envoy_cluster_grpc_proto_collector_trace_v1_TraceService_[0-9]+"},
"grpc_status", "$1", "__name__", "envoy_cluster_grpc_proto_collector_trace_v1_TraceService_(.+)"
)
[$__interval:$__interval]
[$__rate_interval:30s]
)
)
||| % $.jobMatcher($._config.jobs.gateway),
Expand Down

0 comments on commit 55c71fa

Please sign in to comment.