Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tempo-mixin to show request in Resources dashboard #2281

Merged
merged 5 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## main / unreleased

* [CHANGE] Update tempo-mixin to show request in Resources dashboard [#2281](https://github.com/grafana/tempo/pull/2008) (@electron0zero)
* [FEATURE] Add support for Azure Workload Identity authentication [#2195](https://github.com/grafana/tempo/pull/2195) (@LambArchie)
* [ENHANCEMENT] Add Throughput and SLO Metrics with SLOConfig in Query Frontend [#2008](https://github.com/grafana/tempo/pull/2008) (@electron0zero)
- **BREAKING CHANGE** `query_frontend_result_metrics_inspected_bytes` metric removed in favour of `query_frontend_bytes_processed_per_second`
Expand Down
196 changes: 196 additions & 0 deletions operations/tempo-mixin-compiled/dashboards/tempo-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -86,6 +91,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"cortex-gw(-internal)?\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -162,6 +176,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -186,6 +205,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"cortex-gw(-internal)?\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -361,6 +389,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -385,6 +418,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"distributor\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -461,6 +503,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -485,6 +532,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"distributor\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -660,6 +716,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -684,6 +745,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"ingester\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -760,6 +830,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -784,6 +859,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"ingester\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -959,6 +1043,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -983,6 +1072,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"metrics-generator\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1059,6 +1157,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1083,6 +1186,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"metrics-generator\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1258,6 +1370,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1282,6 +1399,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"query-frontend\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1358,6 +1484,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1382,6 +1513,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"query-frontend\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1557,6 +1697,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1581,6 +1726,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"querier\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1657,6 +1811,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1681,6 +1840,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"querier\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1856,6 +2024,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1880,6 +2053,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"compactor\", resource=\"cpu\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down Expand Up @@ -1956,6 +2138,11 @@
"alias": "limit",
"color": "#E02F44",
"fill": 0
},
{
"alias": "request",
"color": "#FCE300",
"fill": 0
}
],
"spaceLength": 10,
Expand All @@ -1980,6 +2167,15 @@
"legendFormat": "limit",
"legendLink": null,
"step": 10
},
{
"expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\",container=~\"compactor\", resource=\"memory\"} > 0)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "request",
"legendLink": null,
"step": 10
}
],
"thresholds": [
Expand Down
Loading