diff --git a/CHANGELOG.md b/CHANGELOG.md
index 37e191bc2d..158b42d48d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,8 @@ the release.
([#1764](https://github.com/open-telemetry/opentelemetry-demo/pull/1764))
* [chore] Move build args to .env file
([#1767](https://github.com/open-telemetry/opentelemetry-demo/pull/1767))
+* [grafana] Fix Dashboards
+ ([#1779](https://github.com/open-telemetry/opentelemetry-demo/pull/1779))
* [accountingservice] bump OpenTelemetry .NET Automatic Instrumentation
to 1.9.0 ([#1780](https://github.com/open-telemetry/opentelemetry-demo/pull/1780))
diff --git a/src/grafana/provisioning/dashboards/demo/demo-dashboard.json b/src/grafana/provisioning/dashboards/demo/demo-dashboard.json
index eabd1d155e..87cf5ec142 100644
--- a/src/grafana/provisioning/dashboards/demo/demo-dashboard.json
+++ b/src/grafana/provisioning/dashboards/demo/demo-dashboard.json
@@ -26,7 +26,6 @@
"graphTooltip": 0,
"id": 2,
"links": [],
- "liveNow": false,
"panels": [
{
"collapsed": false,
@@ -59,6 +58,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -122,6 +122,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -130,7 +131,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "histogram_quantile(0.50, sum(rate(duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
+ "expr": "histogram_quantile(0.50, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
"legendFormat": "quantile50",
"range": true,
"refId": "A"
@@ -142,7 +143,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.95, sum(rate(duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
+ "expr": "histogram_quantile(0.95, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "quantile95",
"range": true,
@@ -155,7 +156,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.99, sum(rate(duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
+ "expr": "histogram_quantile(0.99, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "quantile99",
"range": true,
@@ -168,7 +169,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.999, sum(rate(duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
+ "expr": "histogram_quantile(0.999, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=\"${service}\"}[$__rate_interval])) by (le))",
"hide": false,
"legendFormat": "quantile999",
"range": true,
@@ -196,6 +197,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -258,6 +260,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -265,7 +268,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": " sum by (span_name) (rate(calls_total{status_code=\"STATUS_CODE_ERROR\", service_name=\"${service}\"}[$__rate_interval]))",
+ "expr": " sum by (span_name) (rate(traces_span_metrics_calls_total{status_code=\"STATUS_CODE_ERROR\", service_name=\"${service}\"}[$__rate_interval]))",
"interval": "",
"legendFormat": "{{ span_name }}",
"range": true,
@@ -292,6 +295,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -355,6 +359,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -362,7 +367,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum by (span_name) (rate(duration_milliseconds_count{service_name=\"${service}\"}[$__rate_interval]))",
+ "expr": "sum by (span_name) (rate(traces_span_metrics_duration_milliseconds_count{service_name=\"${service}\"}[$__rate_interval]))",
"legendFormat": "{{ span_name }}",
"range": true,
"refId": "A"
@@ -438,7 +443,7 @@
},
"showHeader": true
},
- "pluginVersion": "10.4.3",
+ "pluginVersion": "11.3.0",
"targets": [
{
"alias": "",
@@ -525,7 +530,7 @@
},
"showHeader": true
},
- "pluginVersion": "10.4.3",
+ "pluginVersion": "11.3.0",
"targets": [
{
"alias": "",
@@ -590,6 +595,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -652,6 +658,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -709,6 +716,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -771,6 +779,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -813,6 +822,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "bars",
"fillOpacity": 0,
"gradientMode": "none",
@@ -874,6 +884,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -908,6 +919,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -970,6 +982,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -977,7 +990,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "rate(otel_trace_span_processor_spans{job=\"quoteservice\"}[2m])*120",
+ "expr": "rate(otel_trace_span_processor_spans{job=\"opentelemetry-demo/quoteservice\"}[2m])*120",
"interval": "2m",
"legendFormat": "{{state}}",
"range": true,
@@ -988,16 +1001,14 @@
"type": "timeseries"
}
],
+ "preload": false,
"refresh": "",
- "revision": 1,
- "schemaVersion": 39,
+ "schemaVersion": 40,
"tags": [],
"templating": {
"list": [
{
- "allValue": "",
"current": {
- "selected": true,
"text": "frontend",
"value": "frontend"
},
@@ -1005,19 +1016,16 @@
"type": "prometheus",
"uid": "webstore-metrics"
},
- "definition": "duration_milliseconds_bucket",
- "hide": 0,
+ "definition": "traces_span_metrics_duration_milliseconds_bucket",
"includeAll": false,
- "multi": false,
"name": "service",
"options": [],
"query": {
- "query": "duration_milliseconds_bucket",
+ "query": "traces_span_metrics_duration_milliseconds_bucket",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "/.*service_name=\\\"([^\\\"]+)\\\".*/",
- "skipUrlSync": false,
"sort": 1,
"type": "query"
}
@@ -1031,6 +1039,6 @@
"timezone": "",
"title": "Demo Dashboard",
"uid": "W2gX2zHVk",
- "version": 1,
+ "version": 2,
"weekStart": ""
-}
\ No newline at end of file
+}
diff --git a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector-data-flow.json b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector-data-flow.json
index d023ea2524..2a987af76b 100644
--- a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector-data-flow.json
+++ b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector-data-flow.json
@@ -25,9 +25,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "id": 6,
+ "id": 3,
"links": [],
- "liveNow": false,
"panels": [
{
"collapsed": false,
@@ -82,6 +81,7 @@
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -89,9 +89,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -99,7 +101,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "count(count(otelcol_process_cpu_seconds{service_instance_id=~\".*\"}) by (service_instance_id))",
+ "expr": "count(count(otelcol_process_cpu_seconds_total{service_instance_id=~\".*\"}) by (service_instance_id))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
@@ -145,6 +147,8 @@
},
"id": 24,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -154,9 +158,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -164,7 +169,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "avg(rate(otelcol_process_cpu_seconds{}[$__rate_interval])*100) by (instance)",
+ "expr": "avg(rate(otelcol_process_cpu_seconds_total{}[$__rate_interval])*100) by (instance)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
@@ -210,6 +215,8 @@
},
"id": 38,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -219,9 +226,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -239,11 +247,11 @@
"type": "gauge"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
"description": "",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 4,
"w": 15,
@@ -260,7 +268,8 @@
"content": "## Opentelemetry Collector Data Ingress/Egress\n\n`service_version:` ${service_version}\n\n`opentelemetry collector:` contrib\n\n",
"mode": "markdown"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
+ "title": "",
"type": "text"
},
{
@@ -330,6 +339,8 @@
},
"id": 55,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
@@ -339,9 +350,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": false
+ "showThresholdMarkers": false,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -350,7 +362,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "avg(sum by(job) (rate(otelcol_exporter_sent_spans{}[$__range])))",
+ "expr": "avg(sum by(job) (rate(otelcol_exporter_sent_spans_total{}[$__range])))",
"format": "time_series",
"hide": true,
"instant": false,
@@ -364,7 +376,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "avg(sum by(job) (rate(otelcol_receiver_accepted_spans{}[$__range])))",
+ "expr": "avg(sum by(job) (rate(otelcol_receiver_accepted_spans_total{}[$__range])))",
"format": "time_series",
"hide": true,
"legendFormat": "__auto",
@@ -377,7 +389,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "(avg(sum by(job) (rate(otelcol_exporter_sent_spans{}[$__range]))) / avg(sum by(job) (rate(otelcol_receiver_accepted_spans{}[$__range])))) ",
+ "expr": "(avg(sum by(job) (rate(otelcol_exporter_sent_spans_total{}[$__range]))) / avg(sum by(job) (rate(otelcol_receiver_accepted_spans_total{}[$__range])))) ",
"hide": false,
"legendFormat": "__auto",
"range": true,
@@ -385,7 +397,6 @@
}
],
"title": "Export Ratio",
- "transformations": [],
"type": "gauge"
},
{
@@ -393,6 +404,10 @@
"type": "prometheus",
"uid": "webstore-metrics"
},
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 11,
"w": 21,
@@ -401,10 +416,12 @@
},
"id": 4,
"options": {
+ "edges": {},
"nodes": {
"mainStatUnit": "flops"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -413,7 +430,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "label_join(label_join(\n(rate(otelcol_receiver_accepted_spans{}[$__interval]))\n, \"id\", \"\", \"transport\", \"receiver\")\n, \"title\", \"\", \"transport\", \"receiver\")\n\nor\n\nlabel_replace(label_replace(\nsum by(service_name) (rate(otelcol_receiver_accepted_spans{}[$__interval]))\n, \"id\", \"processor\", \"dummynode\", \"\")\n, \"title\", \"processor\", \"dummynode\", \"\")\n\nor\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n, \"id\", \"$0\", \"processor\", \".*\")\n, \"title\", \"$0\", \"processor\", \".*\")\n\nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_spans{}[$__interval]))\n, \"id\", \"exporter\", \"dummynode\", \"\")\n, \"title\", \"exporter\", \"dummynode\", \"\")\n \nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_spans{}[$__interval]))\n, \"id\", \"$0\", \"exporter\", \".*\")\n, \"title\", \"$0\", \"exporter\", \".*\")",
+ "expr": "label_join(label_join(\n(rate(otelcol_receiver_accepted_spans_total{}[$__interval]))\n, \"id\", \"\", \"transport\", \"receiver\")\n, \"title\", \"\", \"transport\", \"receiver\")\n\nor\n\nlabel_replace(label_replace(\nsum by(service_name) (rate(otelcol_receiver_accepted_spans_total{}[$__interval]))\n, \"id\", \"processor\", \"dummynode\", \"\")\n, \"title\", \"processor\", \"dummynode\", \"\")\n\nor\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n, \"id\", \"$0\", \"processor\", \".*\")\n, \"title\", \"$0\", \"processor\", \".*\")\n\nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_spans_total{}[$__interval]))\n, \"id\", \"exporter\", \"dummynode\", \"\")\n, \"title\", \"exporter\", \"dummynode\", \"\")\n \nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_spans_total{}[$__interval]))\n, \"id\", \"$0\", \"exporter\", \".*\")\n, \"title\", \"$0\", \"exporter\", \".*\")",
"format": "table",
"instant": true,
"legendFormat": "__auto",
@@ -427,7 +444,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "label_join(\nlabel_replace(label_join(\n(rate(otelcol_receiver_accepted_spans{}[$__interval]))\n\n ,\"source\",\"\",\"transport\",\"receiver\")\n,\"target\",\"processor\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\n or\n\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n ,\"source\",\"processor\",\"\",\"\")\n,\"target\",\"$0\",\"processor\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n ,\"source\",\"$0\",\"processor\",\".*\")\n,\"target\",\"exporter\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_exporter_sent_spans{}[$__interval]))\n ,\"source\",\"exporter\",\"\",\"\")\n,\"target\",\"$0\",\"exporter\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\n",
+ "expr": "label_join(\nlabel_replace(label_join(\n(rate(otelcol_receiver_accepted_spans_total{}[$__interval]))\n\n ,\"source\",\"\",\"transport\",\"receiver\")\n,\"target\",\"processor\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\n or\n\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n ,\"source\",\"processor\",\"\",\"\")\n,\"target\",\"$0\",\"processor\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n ,\"source\",\"$0\",\"processor\",\".*\")\n,\"target\",\"exporter\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\n label_join(\nlabel_replace(label_replace(\n (rate(otelcol_exporter_sent_spans_total{}[$__interval]))\n ,\"source\",\"exporter\",\"\",\"\")\n,\"target\",\"$0\",\"exporter\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\n",
"format": "table",
"hide": false,
"instant": true,
@@ -436,7 +453,7 @@
"refId": "edges"
}
],
- "transformations": [],
+ "title": "",
"type": "nodeGraph"
},
{
@@ -477,6 +494,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -484,9 +502,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -494,7 +514,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_accepted_spans{}[$__rate_interval])) by (receiver,transport)",
+ "expr": "sum(rate(otelcol_receiver_accepted_spans_total{}[$__rate_interval])) by (receiver,transport)",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -535,6 +555,8 @@
},
"id": 13,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -544,9 +566,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -554,7 +577,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_accepted_spans{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_receiver_accepted_spans_total{}[$__rate_interval])) ",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -604,6 +627,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -611,10 +635,12 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -662,6 +688,8 @@
},
"id": 14,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -671,9 +699,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -682,7 +711,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_sent_spans{}[$__interval])) ",
+ "expr": "sum(rate(otelcol_exporter_sent_spans_total{}[$__interval])) ",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -730,6 +759,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -737,9 +767,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -748,7 +780,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_sent_spans{}[$__rate_interval])) by (exporter)",
+ "expr": "sum(rate(otelcol_exporter_sent_spans_total{}[$__rate_interval])) by (exporter)",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -796,6 +828,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -803,9 +836,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -813,7 +848,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_refused_spans{}[$__rate_interval])) by (receiver,transport)",
+ "expr": "sum(rate(otelcol_receiver_refused_spans_total{}[$__rate_interval])) by (receiver,transport)",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -854,6 +889,8 @@
},
"id": 18,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -863,9 +900,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -873,7 +911,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_refused_spans{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_receiver_refused_spans_total{}[$__rate_interval])) ",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -914,6 +952,8 @@
},
"id": 19,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -923,9 +963,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -934,7 +975,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_send_failed_spans{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_exporter_send_failed_spans_total{}[$__rate_interval])) ",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -982,6 +1023,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -989,9 +1031,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1000,7 +1044,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_send_failed_spans{}[$__rate_interval])) by (exporter)",
+ "expr": "sum(rate(otelcol_exporter_send_failed_spans_total{}[$__rate_interval])) by (exporter)",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -1078,6 +1122,8 @@
},
"id": 54,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
@@ -1087,9 +1133,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": false
+ "showThresholdMarkers": false,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1098,7 +1145,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "avg(sum by(job) (rate(otelcol_exporter_sent_metric_points{}[$__range])))",
+ "expr": "avg(sum by(job) (rate(otelcol_exporter_sent_metric_points_total{}[$__range])))",
"format": "time_series",
"hide": true,
"instant": false,
@@ -1112,7 +1159,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "avg(sum by(job) (rate(otelcol_receiver_accepted_metric_points{}[$__range])))",
+ "expr": "avg(sum by(job) (rate(otelcol_receiver_accepted_metric_points_total{}[$__range])))",
"format": "time_series",
"hide": true,
"legendFormat": "__auto",
@@ -1125,7 +1172,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "( avg(sum by(job) (rate(otelcol_exporter_sent_metric_points{}[$__range]))) /avg(sum by(job) (rate(otelcol_receiver_accepted_metric_points{}[$__range]))))",
+ "expr": "( avg(sum by(job) (rate(otelcol_exporter_sent_metric_points_total{}[$__range]))) /avg(sum by(job) (rate(otelcol_receiver_accepted_metric_points_total{}[$__range]))))",
"hide": false,
"legendFormat": "__auto",
"range": true,
@@ -1177,6 +1224,10 @@
"uid": "webstore-metrics"
},
"description": "Metrics Signalling Pipelines",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 11,
"w": 21,
@@ -1185,10 +1236,12 @@
},
"id": 25,
"options": {
+ "edges": {},
"nodes": {
"mainStatUnit": "flops"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1197,7 +1250,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "\nlabel_join(label_join(\n(rate(otelcol_receiver_accepted_metric_points{}[$__interval]))\n, \"id\", \"\", \"transport\", \"receiver\")\n, \"title\", \"\", \"transport\", \"receiver\")\n\nor\n\nlabel_replace(label_replace(\nsum by(service_name) (rate(otelcol_receiver_accepted_spans{}[$__interval]))\n, \"id\", \"processor\", \"dummynode\", \"\")\n, \"title\", \"processor\", \"dummynode\", \"\")\n\n\n\nor\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n, \"id\", \"$0\", \"processor\", \".*\")\n, \"title\", \"$0\", \"processor\", \".*\")\n\n\n\n\n\nor\nlabel_replace(label_replace(\nsum (rate(otelcol_exporter_sent_metric_points{}[$__interval]))\n, \"id\", \"exporter\", \"dummynode\", \"\")\n, \"title\", \"exporter\", \"dummynode\", \"\")\n\nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_metric_points{}[$__interval]))\n, \"id\", \"$0\", \"exporter\", \".*\")\n, \"title\", \"$0\", \"exporter\", \".*\")",
+ "expr": "\nlabel_join(label_join(\n(rate(otelcol_receiver_accepted_metric_points_total{}[$__interval]))\n, \"id\", \"\", \"transport\", \"receiver\")\n, \"title\", \"\", \"transport\", \"receiver\")\n\nor\n\nlabel_replace(label_replace(\nsum by(service_name) (rate(otelcol_receiver_accepted_spans_total{}[$__interval]))\n, \"id\", \"processor\", \"dummynode\", \"\")\n, \"title\", \"processor\", \"dummynode\", \"\")\n\n\n\nor\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n, \"id\", \"$0\", \"processor\", \".*\")\n, \"title\", \"$0\", \"processor\", \".*\")\n\n\n\n\n\nor\nlabel_replace(label_replace(\nsum (rate(otelcol_exporter_sent_metric_points_total{}[$__interval]))\n, \"id\", \"exporter\", \"dummynode\", \"\")\n, \"title\", \"exporter\", \"dummynode\", \"\")\n\nor\nlabel_replace(label_replace(\nsum by(exporter) (rate(otelcol_exporter_sent_metric_points_total{}[$__interval]))\n, \"id\", \"$0\", \"exporter\", \".*\")\n, \"title\", \"$0\", \"exporter\", \".*\")",
"format": "table",
"instant": true,
"legendFormat": "__auto",
@@ -1211,7 +1264,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "label_join(\nlabel_replace(label_join(\n(rate(otelcol_receiver_accepted_metric_points{}[$__interval]))\n\n,\"source\",\"\",\"transport\",\"receiver\")\n,\"target\",\"processor\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\n\nor\n\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n,\"source\",\"processor\",\"\",\"\")\n,\"target\",\"$0\",\"processor\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\n\n\n\n\nor\n\n\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n,\"source\",\"$0\",\"processor\",\".*\")\n,\"target\",\"exporter\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_exporter_sent_metric_points{}[$__interval]))\n,\"source\",\"exporter\",\"\",\"\")\n,\"target\",\"$0\",\"exporter\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")",
+ "expr": "label_join(\nlabel_replace(label_join(\n(rate(otelcol_receiver_accepted_metric_points_total{}[$__interval]))\n\n,\"source\",\"\",\"transport\",\"receiver\")\n,\"target\",\"processor\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\n\nor\n\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n,\"source\",\"processor\",\"\",\"\")\n,\"target\",\"$0\",\"processor\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")\n\n\n\n\n\nor\n\n\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_processor_batch_batch_send_size_count{}[$__interval]))\n,\"source\",\"$0\",\"processor\",\".*\")\n,\"target\",\"exporter\",\"\",\"\")\n,\"id\",\"-\",\"source\",\"target\")\n\nor\nlabel_join(\nlabel_replace(label_replace(\n(rate(otelcol_exporter_sent_metric_points_total{}[$__interval]))\n,\"source\",\"exporter\",\"\",\"\")\n,\"target\",\"$0\",\"exporter\",\".*\")\n,\"id\",\"-\",\"source\",\"target\")",
"format": "table",
"hide": false,
"instant": true,
@@ -1220,7 +1273,7 @@
"refId": "edges"
}
],
- "transformations": [],
+ "title": "",
"type": "nodeGraph"
},
{
@@ -1261,6 +1314,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1268,9 +1322,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1278,7 +1334,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_accepted_metric_points{}[$__rate_interval])) by (receiver,transport)",
+ "expr": "sum(rate(otelcol_receiver_accepted_metric_points_total{}[$__rate_interval])) by (receiver,transport)",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -1319,6 +1375,8 @@
},
"id": 27,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -1328,9 +1386,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1338,7 +1397,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_accepted_metric_points{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_receiver_accepted_metric_points_total{}[$__rate_interval])) ",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -1387,6 +1446,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1394,10 +1454,12 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1446,6 +1508,8 @@
},
"id": 29,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -1455,9 +1519,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1466,7 +1531,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_sent_metric_points{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_exporter_sent_metric_points_total{}[$__rate_interval])) ",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -1514,6 +1579,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1521,9 +1587,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1532,7 +1600,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_sent_metric_points{}[$__rate_interval])) by (exporter) ",
+ "expr": "sum(rate(otelcol_exporter_sent_metric_points_total{}[$__rate_interval])) by (exporter) ",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -1580,6 +1648,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1587,9 +1656,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1597,7 +1668,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_refused_metric_points{}[$__rate_interval])) by (receiver,transport)",
+ "expr": "sum(rate(otelcol_receiver_refused_metric_points_total{}[$__rate_interval])) by (receiver,transport)",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -1638,6 +1709,8 @@
},
"id": 48,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -1647,9 +1720,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1657,7 +1731,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "sum(rate(otelcol_receiver_refused_metric_points{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_receiver_refused_metric_points_total{}[$__rate_interval])) ",
"legendFormat": "{{receiver}}-{{transport}}",
"range": true,
"refId": "A"
@@ -1698,6 +1772,8 @@
},
"id": 49,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -1707,9 +1783,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1718,7 +1795,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_send_failed_metric_points{}[$__rate_interval])) ",
+ "expr": "sum(rate(otelcol_exporter_send_failed_metric_points_total{}[$__rate_interval])) ",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -1766,6 +1843,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1773,9 +1851,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1784,7 +1864,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "sum(rate(otelcol_exporter_send_failed_metric_points{}[$__rate_interval])) by (exporter)",
+ "expr": "sum(rate(otelcol_exporter_send_failed_metric_points_total{}[$__rate_interval])) by (exporter)",
"format": "time_series",
"instant": false,
"legendFormat": "{{processor}}",
@@ -1862,6 +1942,8 @@
},
"id": 53,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
@@ -1871,9 +1953,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": false
+ "showThresholdMarkers": false,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1895,7 +1978,7 @@
"uid": "webstore-metrics"
},
"editorMode": "code",
- "expr": "(sum(rate(otelcol_exporter_sent_metric_points{exporter=\"prometheus\"}[$__rate_interval])) )",
+ "expr": "(sum(rate(otelcol_exporter_sent_metric_points_total{exporter=\"prometheus\"}[$__rate_interval])) )",
"format": "time_series",
"hide": false,
"legendFormat": "__auto",
@@ -1978,6 +2061,7 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -1985,9 +2069,11 @@
"fields": "",
"values": false
},
- "textMode": "value_and_name"
+ "showPercentChange": false,
+ "textMode": "value_and_name",
+ "wideLayout": true
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2043,6 +2129,8 @@
},
"id": 42,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -2052,9 +2140,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2095,6 +2184,10 @@
"type": "prometheus",
"uid": "webstore-metrics"
},
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 9,
"w": 8,
@@ -2102,7 +2195,11 @@
"y": 46
},
"id": 41,
- "pluginVersion": "9.1.0",
+ "options": {
+ "edges": {},
+ "nodes": {}
+ },
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2135,6 +2232,7 @@
"refId": "edges"
}
],
+ "title": "",
"transformations": [
{
"id": "organize",
@@ -2150,11 +2248,11 @@
"type": "nodeGraph"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
"description": "Sent by Exporter",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 9,
"w": 5,
@@ -2171,20 +2269,20 @@
"content": "\n \n## Prometheus Config\n\n`evaluation_interval:` 30s\n\n`scrape_interval:` 5s",
"mode": "markdown"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
+ "title": "",
"type": "text"
}
],
+ "preload": false,
"refresh": false,
- "schemaVersion": 37,
- "style": "dark",
+ "schemaVersion": 40,
"tags": [],
"templating": {
"list": [
{
"allValue": ".*",
"current": {
- "selected": false,
"text": "0.70.0",
"value": "0.70.0"
},
@@ -2205,8 +2303,6 @@
},
"refresh": 1,
"regex": "/.*service_version=\"(.*)\".*/",
- "skipUrlSync": false,
- "sort": 0,
"type": "query"
}
]
@@ -2219,6 +2315,6 @@
"timezone": "",
"title": "Opentelemetry Collector Data Flow",
"uid": "rl5_tea4k",
- "version": 2,
+ "version": 1,
"weekStart": ""
}
diff --git a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json
index b437e19287..1c574262c7 100644
--- a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json
+++ b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json
@@ -1,50 +1,4 @@
{
- "__inputs": [],
- "__elements": {},
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "10.0.3"
- },
- {
- "type": "panel",
- "id": "heatmap",
- "name": "Heatmap",
- "version": ""
- },
- {
- "type": "panel",
- "id": "nodeGraph",
- "name": "Node Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- },
- {
- "type": "panel",
- "id": "text",
- "name": "Text",
- "version": ""
- },
- {
- "type": "panel",
- "id": "timeseries",
- "name": "Time series",
- "version": ""
- }
- ],
"annotations": {
"list": [
{
@@ -67,21 +21,15 @@
}
]
},
- "description": "Visualize OpenTelemetry (OTEL) collector metrics (tested with OTEL contrib v0.84.0)",
+ "description": "Visualize OpenTelemetry (OTEL) collector metrics (tested with OTEL contrib v0.113.0)",
"editable": true,
"fiscalYearStartMonth": 0,
- "gnetId": 15983,
"graphTooltip": 1,
- "id": null,
+ "id": 4,
"links": [],
- "liveNow": false,
"panels": [
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -90,15 +38,6 @@
},
"id": 23,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
- "refId": "A"
- }
- ],
"title": "Receivers",
"type": "row"
},
@@ -114,11 +53,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -127,6 +68,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -187,7 +129,6 @@
},
"id": 28,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -204,7 +145,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -213,7 +154,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_accepted_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_accepted_spans_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -228,7 +169,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_refused_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_refused_spans_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -253,11 +194,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -266,6 +209,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -326,7 +270,6 @@
},
"id": 32,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -343,7 +286,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -352,7 +295,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_accepted_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_accepted_metric_points_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -367,7 +310,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_refused_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_refused_metric_points_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -392,11 +335,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -405,6 +350,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -465,7 +411,6 @@
},
"id": 47,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -482,7 +427,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -491,7 +436,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_accepted_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_accepted_log_records_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -506,7 +451,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_receiver_refused_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
+ "expr": "sum(${metric:value}(otelcol_receiver_refused_log_records_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])) by (receiver $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -521,10 +466,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -533,15 +474,6 @@
},
"id": 34,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
- "refId": "A"
- }
- ],
"title": "Processors",
"type": "row"
},
@@ -557,11 +489,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -570,6 +504,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -641,11 +576,10 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 18
+ "y": 10
},
"id": 36,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -662,7 +596,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -726,11 +660,10 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 18
+ "y": 10
},
"id": 49,
"interval": "$minstep",
- "links": [],
"maxDataPoints": 50,
"options": {
"calculate": false,
@@ -757,7 +690,8 @@
"layout": "auto"
},
"tooltip": {
- "show": true,
+ "mode": "single",
+ "showColorScale": false,
"yHistogram": false
},
"yAxis": {
@@ -765,7 +699,7 @@
"reverse": false
}
},
- "pluginVersion": "10.0.3",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -799,11 +733,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -812,6 +748,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -883,11 +820,10 @@
"h": 8,
"w": 8,
"x": 16,
- "y": 18
+ "y": 10
},
"id": 56,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -904,7 +840,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -913,13 +849,13 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_processor_batch_batch_size_trigger_send{processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (processor)",
+ "expr": "sum(${metric:value}(otelcol_processor_batch_timeout_trigger_send_total {processor=~\"$processor\",job=\"$job\"}[$__rate_interval])) by (processor)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "$minstep",
"intervalFactor": 1,
- "legendFormat": "Batch sent due to a size trigger: {{processor}}",
+ "legendFormat": "Batch sent due to a timeout trigger: {{processor}}",
"refId": "B"
},
{
@@ -944,27 +880,14 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 26
+ "y": 18
},
"id": 25,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
- "refId": "A"
- }
- ],
"title": "Exporters",
"type": "row"
},
@@ -980,11 +903,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -993,6 +918,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1049,11 +975,10 @@
"h": 9,
"w": 8,
"x": 0,
- "y": 27
+ "y": 19
},
"id": 37,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1070,7 +995,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1079,7 +1004,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_exporter_sent_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
+ "expr": "sum(${metric:value}(otelcol_exporter_sent_spans_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -1135,11 +1060,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1148,6 +1075,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1204,11 +1132,10 @@
"h": 9,
"w": 8,
"x": 8,
- "y": 27
+ "y": 19
},
"id": 38,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1225,7 +1152,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1234,7 +1161,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_exporter_sent_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
+ "expr": "sum(${metric:value}(otelcol_exporter_sent_metric_points_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -1290,11 +1217,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1303,6 +1232,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1359,11 +1289,10 @@
"h": 9,
"w": 8,
"x": 16,
- "y": 27
+ "y": 19
},
"id": 48,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1380,7 +1309,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1389,7 +1318,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(${metric:value}(otelcol_exporter_sent_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
+ "expr": "sum(${metric:value}(otelcol_exporter_sent_log_records_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])) by (exporter $grouping)",
"format": "time_series",
"interval": "$minstep",
"intervalFactor": 1,
@@ -1445,11 +1374,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1458,6 +1389,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1497,10 +1429,9 @@
"h": 9,
"w": 12,
"x": 0,
- "y": 36
+ "y": 28
},
"id": 10,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1517,7 +1448,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1550,11 +1481,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1563,6 +1496,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1602,10 +1536,9 @@
"h": 9,
"w": 12,
"x": 12,
- "y": 36
+ "y": 28
},
"id": 55,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1622,7 +1555,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1645,27 +1578,14 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 45
+ "y": 37
},
"id": 21,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
- "refId": "A"
- }
- ],
"title": "Collector",
"type": "row"
},
@@ -1681,11 +1601,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1694,6 +1616,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1804,11 +1727,10 @@
"h": 9,
"w": 8,
"x": 0,
- "y": 46
+ "y": 38
},
"id": 40,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1825,7 +1747,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -1890,11 +1812,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -1903,6 +1827,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2013,11 +1938,10 @@
"h": 9,
"w": 8,
"x": 8,
- "y": 46
+ "y": 38
},
"id": 52,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2034,7 +1958,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2099,11 +2023,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -2112,6 +2038,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2222,11 +2149,10 @@
"h": 9,
"w": 8,
"x": 16,
- "y": 46
+ "y": 38
},
"id": 53,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2243,7 +2169,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2308,11 +2234,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -2321,6 +2249,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2427,11 +2356,10 @@
"h": 9,
"w": 8,
"x": 0,
- "y": 55
+ "y": 47
},
"id": 39,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2448,7 +2376,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2457,7 +2385,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "max(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
+ "expr": "max(rate(otelcol_process_cpu_seconds_total{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -2473,7 +2401,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
+ "expr": "avg(rate(otelcol_process_cpu_seconds_total{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -2489,7 +2417,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "min(rate(otelcol_process_cpu_seconds{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
+ "expr": "min(rate(otelcol_process_cpu_seconds_total{job=\"$job\"}[$__rate_interval])*100) by (job $grouping)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -2514,11 +2442,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -2527,6 +2457,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2567,11 +2498,10 @@
"h": 9,
"w": 8,
"x": 8,
- "y": 55
+ "y": 47
},
"id": 41,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2588,7 +2518,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2597,7 +2527,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "count(count(otelcol_process_cpu_seconds{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id))",
+ "expr": "count(count(otelcol_process_cpu_seconds_total{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id))",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -2622,11 +2552,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
@@ -2635,6 +2567,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2675,11 +2608,10 @@
"h": 9,
"w": 8,
"x": 16,
- "y": 55
+ "y": 47
},
"id": 54,
"interval": "$minstep",
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2696,7 +2628,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.3.5",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2705,7 +2637,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "max(otelcol_process_uptime{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id)",
+ "expr": "max(otelcol_process_uptime_total{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id)",
"format": "time_series",
"hide": false,
"interval": "$minstep",
@@ -2760,11 +2692,10 @@
"h": 5,
"w": 24,
"x": 0,
- "y": 64
+ "y": 56
},
"id": 57,
"interval": "$minstep",
- "links": [],
"options": {
"cellHeight": "sm",
"footer": {
@@ -2777,7 +2708,7 @@
},
"showHeader": true
},
- "pluginVersion": "10.0.3",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2786,7 +2717,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "max(otelcol_process_uptime{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id,service_name,service_version)",
+ "expr": "max(otelcol_process_uptime_total{service_instance_id=~\".*\",job=\"$job\"}) by (service_instance_id,service_name,service_version)",
"format": "table",
"hide": false,
"instant": true,
@@ -2819,7 +2750,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 69
+ "y": 61
},
"id": 59,
"panels": [],
@@ -2832,18 +2763,24 @@
"uid": "$datasource"
},
"description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
- "y": 70
+ "y": 62
},
"id": 58,
"options": {
+ "edges": {},
"nodes": {
"mainStatUnit": "flops"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2852,7 +2789,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_spans{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_spans{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
+ "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_spans_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime_total{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_spans_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -2867,7 +2804,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_spans{job=\"$job\"}[$__interval])) by (receiver))\r\n ,\"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n ,\"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_spans{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
+ "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_spans_total{job=\"$job\"}[$__interval])) by (receiver))\r\n ,\"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n ,\"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_spans_total{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -2908,18 +2845,24 @@
"uid": "$datasource"
},
"description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
- "y": 70
+ "y": 62
},
"id": 60,
"options": {
+ "edges": {},
"nodes": {
"mainStatUnit": "none"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -2928,7 +2871,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_receiver_accepted_metric_points{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver))\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_exporter_sent_metric_points{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter))\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
+ "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_receiver_accepted_metric_points_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver))\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime_total{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n (sum(\n ${metric:value}(otelcol_exporter_sent_metric_points_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter))\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -2943,7 +2886,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_metric_points{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_metric_points{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
+ "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_metric_points_total{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_metric_points_total{job=\"$job\"}[$__interval])) by (exporter))\r\n , \"target\", \"-exp-\", \"transport\", \"exporter\"\r\n )\r\n , \"source\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-\", \"source\", \"target\"\r\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -2984,18 +2927,24 @@
"uid": "$datasource"
},
"description": "Receivers -> Processor(s) -> Exporters (Node Graph panel is beta, so this panel may not show data correctly).",
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
- "y": 70
+ "y": 62
},
"id": 61,
"options": {
+ "edges": {},
"nodes": {
"mainStatUnit": "flops"
}
},
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -3004,7 +2953,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_log_records{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_log_records{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
+ "expr": "# receivers\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_receiver_accepted_log_records_total{receiver=~\"$receiver\",job=\"$job\"}[$__rate_interval])\n ) by (receiver)\n , \"id\", \"-rcv-\", \"transport\", \"receiver\"\n )\n , \"title\", \"\", \"transport\", \"receiver\"\n )\n , \"icon\", \"arrow-to-right\", \"\", \"\"\n)\n\n# dummy processor\nor\nlabel_replace(\n label_replace(\n label_replace(\n (sum(rate(otelcol_process_uptime_total{job=\"$job\"}[$__interval])))\n , \"id\", \"processor\", \"\", \"\"\n )\n , \"title\", \"Processor(s)\", \"\", \"\"\n )\n , \"icon\", \"arrow-random\", \"\", \"\"\n)\n\n# exporters\nor\nlabel_replace(\n label_join(\n label_join(\n sum(${metric:value}(\n otelcol_exporter_sent_log_records_total{exporter=~\"$exporter\",job=\"$job\"}[$__rate_interval])\n ) by (exporter)\n , \"id\", \"-exp-\", \"transport\", \"exporter\"\n )\n , \"title\", \"\", \"transport\", \"exporter\"\n )\n , \"icon\", \"arrow-from-right\", \"\", \"\"\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -3019,7 +2968,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_log_records{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-edg-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_log_records{job=\"$job\"}[$__interval])) by (exporter))\r\n ,\"target\",\"-exp-\",\"transport\",\"exporter\"\r\n )\r\n ,\"source\",\"processor\",\"\",\"\"\r\n )\r\n ,\"id\",\"-edg-\",\"source\",\"target\"\r\n)",
+ "expr": "# receivers -> processor\r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_receiver_accepted_log_records_total{job=\"$job\"}[$__interval])) by (receiver))\r\n , \"source\", \"-rcv-\", \"transport\", \"receiver\"\r\n )\r\n , \"target\", \"processor\", \"\", \"\"\r\n )\r\n , \"id\", \"-edg-\", \"source\", \"target\"\r\n)\r\n\r\n# processor -> exporters\r\nor \r\nlabel_join(\r\n label_replace(\r\n label_join(\r\n (sum(rate(otelcol_exporter_sent_log_records_total{job=\"$job\"}[$__interval])) by (exporter))\r\n ,\"target\",\"-exp-\",\"transport\",\"exporter\"\r\n )\r\n ,\"source\",\"processor\",\"\",\"\"\r\n )\r\n ,\"id\",\"-edg-\",\"source\",\"target\"\r\n)",
"format": "table",
"hide": false,
"instant": true,
@@ -3055,20 +3004,17 @@
"type": "nodeGraph"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
},
- "editable": true,
- "error": false,
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
- "y": 79
+ "y": 71
},
"id": 45,
- "links": [],
"options": {
"code": {
"language": "plaintext",
@@ -3078,23 +3024,14 @@
"content": " | \nOTEL collector troubleshooting (how to enable telemetry metrics) | \nScaling the Collector (metrics to watch) | \nInstalled from Grafana.com dashboards",
"mode": "html"
},
- "pluginVersion": "10.0.3",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "$datasource"
- },
- "refId": "A"
- }
- ],
+ "pluginVersion": "11.3.0",
"title": "Documentation",
"type": "text"
}
],
+ "preload": false,
"refresh": "10s",
- "schemaVersion": 38,
- "style": "dark",
+ "schemaVersion": 40,
"tags": [
"opentelemetry",
"monitoring"
@@ -3103,17 +3040,13 @@
"list": [
{
"current": {},
- "hide": 0,
"includeAll": false,
"label": "Datasource",
- "multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
- "queryValue": "",
"refresh": 1,
"regex": "",
- "skipUrlSync": false,
"type": "datasource"
},
{
@@ -3123,10 +3056,8 @@
"uid": "$datasource"
},
"definition": "label_values(otelcol_process_uptime, job)",
- "hide": 0,
"includeAll": false,
"label": "Job",
- "multi": false,
"name": "job",
"options": [],
"query": {
@@ -3135,7 +3066,6 @@
},
"refresh": 1,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
"type": "query"
},
@@ -3144,11 +3074,9 @@
"auto_count": 300,
"auto_min": "10s",
"current": {
- "selected": false,
"text": "auto",
"value": "$__auto_interval_minstep"
},
- "hide": 0,
"label": "Min step",
"name": "minstep",
"options": [
@@ -3179,21 +3107,16 @@
}
],
"query": "10s,30s,1m,5m",
- "queryValue": "",
"refresh": 2,
- "skipUrlSync": false,
"type": "interval"
},
{
"current": {
- "selected": true,
"text": "Rate",
"value": "rate"
},
- "hide": 0,
"includeAll": false,
"label": "Base metric",
- "multi": false,
"name": "metric",
"options": [
{
@@ -3208,8 +3131,6 @@
}
],
"query": "Rate : rate, Count : increase",
- "queryValue": "",
- "skipUrlSync": false,
"type": "custom"
},
{
@@ -3220,10 +3141,8 @@
"uid": "$datasource"
},
"definition": "label_values(receiver)",
- "hide": 0,
"includeAll": true,
"label": "Receiver",
- "multi": false,
"name": "receiver",
"options": [],
"query": {
@@ -3232,12 +3151,8 @@
},
"refresh": 2,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
"current": {},
@@ -3246,10 +3161,8 @@
"uid": "$datasource"
},
"definition": "label_values(processor)",
- "hide": 0,
"includeAll": true,
"label": "Processor",
- "multi": false,
"name": "processor",
"options": [],
"query": {
@@ -3258,12 +3171,8 @@
},
"refresh": 2,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
"allValue": ".*",
@@ -3273,10 +3182,8 @@
"uid": "$datasource"
},
"definition": "label_values(exporter)",
- "hide": 0,
"includeAll": true,
"label": "Exporter",
- "multi": false,
"name": "exporter",
"options": [],
"query": {
@@ -3285,24 +3192,17 @@
},
"refresh": 2,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
"current": {
- "selected": true,
"text": "None (basic metrics)",
"value": ""
},
"description": "Detailed metrics must be configured in the collector configuration. They add grouping by transport protocol (http/grpc) for receivers. ",
- "hide": 0,
"includeAll": false,
"label": "Additional groupping",
- "multi": false,
"name": "grouping",
"options": [
{
@@ -3322,8 +3222,6 @@
}
],
"query": "None (basic metrics) : , By transport (detailed metrics) : \\,transport, By service instance id : \\,service_instance_id",
- "queryValue": "",
- "skipUrlSync": false,
"type": "custom"
}
]
@@ -3332,34 +3230,10 @@
"from": "now-6h",
"to": "now"
},
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
+ "timepicker": {},
"timezone": "utc",
"title": "OpenTelemetry Collector",
"uid": "BKf2sowmj",
- "version": 72,
+ "version": 10,
"weekStart": ""
}
diff --git a/src/grafana/provisioning/dashboards/demo/spanmetrics-dashboard.json b/src/grafana/provisioning/dashboards/demo/spanmetrics-dashboard.json
index be3b329b21..d4ba33c992 100644
--- a/src/grafana/provisioning/dashboards/demo/spanmetrics-dashboard.json
+++ b/src/grafana/provisioning/dashboards/demo/spanmetrics-dashboard.json
@@ -22,14 +22,11 @@
]
},
"description": "Spanmetrics way of demo application view.",
- "author": {
- "name": "devrimdemiroz"
- },
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
+ "id": 5,
"links": [],
- "liveNow": false,
"panels": [
{
"collapsed": false,
@@ -93,6 +90,8 @@
"id": 2,
"interval": "5m",
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -102,9 +101,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -113,7 +113,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,histogram_quantile(0.50, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name)))",
+ "expr": "topk(7,histogram_quantile(0.50, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name)))",
"format": "time_series",
"hide": true,
"instant": false,
@@ -129,11 +129,11 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,histogram_quantile(0.95, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (le,service_name)))",
+ "expr": "topk(7,histogram_quantile(0.95, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (le,service_name)))",
"hide": false,
"instant": true,
"interval": "",
- "legendFormat": "{{le}} - {{service_name}}",
+ "legendFormat": "{{service_name}}",
"range": false,
"refId": "B"
},
@@ -144,7 +144,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.99, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
+ "expr": "histogram_quantile(0.99, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
"hide": true,
"interval": "",
"legendFormat": "quantile99",
@@ -158,7 +158,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.999, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
+ "expr": "histogram_quantile(0.999, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
"hide": true,
"interval": "",
"legendFormat": "quantile999",
@@ -216,8 +216,16 @@
"interval": "5m",
"options": {
"displayMode": "lcd",
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": false
+ },
+ "maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
+ "namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -227,9 +235,11 @@
"values": false
},
"showUnfilled": true,
- "text": {}
+ "sizing": "auto",
+ "text": {},
+ "valueMode": "color"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -238,7 +248,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,sum by (service_name) (rate(calls_total{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])))",
+ "expr": "topk(7,sum by (service_name) (rate(traces_span_metrics_calls_total{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])))",
"format": "time_series",
"instant": true,
"interval": "",
@@ -248,7 +258,6 @@
}
],
"title": "Top 7 Services Mean Rate over Range",
- "transformations": [],
"type": "bargauge"
},
{
@@ -294,8 +303,16 @@
"interval": "5m",
"options": {
"displayMode": "lcd",
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": false
+ },
+ "maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
+ "namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
@@ -305,9 +322,11 @@
"values": false
},
"showUnfilled": true,
- "text": {}
+ "sizing": "auto",
+ "text": {},
+ "valueMode": "color"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -316,7 +335,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,sum(rate(calls_total{status_code=\"STATUS_CODE_ERROR\",service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (service_name))",
+ "expr": "topk(7,sum(rate(traces_span_metrics_calls_total{status_code=\"STATUS_CODE_ERROR\",service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (service_name))",
"instant": true,
"interval": "",
"legendFormat": "{{service_name}}",
@@ -325,15 +344,10 @@
}
],
"title": "Top 7 Services Mean ERROR Rate over Range",
- "transformations": [],
"type": "bargauge"
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -342,15 +356,6 @@
},
"id": 14,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
- "refId": "A"
- }
- ],
"title": "span_names Level - Throughput",
"type": "row"
},
@@ -367,7 +372,9 @@
},
"custom": {
"align": "auto",
- "displayMode": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
"inspect": false
},
"decimals": 2,
@@ -395,8 +402,11 @@
},
"properties": [
{
- "id": "custom.displayMode",
- "value": "lcd-gauge"
+ "id": "custom.cellOptions",
+ "value": {
+ "mode": "lcd",
+ "type": "gauge"
+ }
},
{
"id": "color",
@@ -413,8 +423,11 @@
},
"properties": [
{
- "id": "custom.displayMode",
- "value": "lcd-gauge"
+ "id": "custom.cellOptions",
+ "value": {
+ "mode": "lcd",
+ "type": "gauge"
+ }
},
{
"id": "color",
@@ -455,8 +468,7 @@
},
"properties": [
{
- "id": "custom.width",
- "value": null
+ "id": "custom.width"
}
]
}
@@ -471,7 +483,9 @@
"id": 22,
"interval": "5m",
"options": {
+ "cellHeight": "sm",
"footer": {
+ "countRows": false,
"fields": "",
"reducer": [
"sum"
@@ -481,7 +495,7 @@
"showHeader": true,
"sortBy": []
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -489,7 +503,7 @@
"uid": "webstore-metrics"
},
"exemplar": false,
- "expr": "topk(7, sum(rate(calls_total{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (span_name,service_name)) ",
+ "expr": "topk(7, sum(rate(traces_span_metrics_calls_total{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (span_name,service_name)) ",
"format": "table",
"instant": true,
"interval": "",
@@ -502,7 +516,7 @@
"uid": "webstore-metrics"
},
"exemplar": false,
- "expr": "topk(7, sum(rate(calls_total{status_code=\"STATUS_CODE_ERROR\",service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (span_name,service_name))",
+ "expr": "topk(7, sum(rate(traces_span_metrics_calls_total{status_code=\"STATUS_CODE_ERROR\",service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (span_name,service_name))",
"format": "table",
"hide": false,
"instant": true,
@@ -603,10 +617,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -615,15 +625,6 @@
},
"id": 20,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "webstore-metrics"
- },
- "refId": "A"
- }
- ],
"title": "span_name Level - Latencies",
"type": "row"
},
@@ -676,6 +677,8 @@
"id": 25,
"interval": "5m",
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
@@ -685,9 +688,10 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -696,7 +700,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,histogram_quantile(0.50, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name)))",
+ "expr": "topk(7,histogram_quantile(0.50, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name)))",
"format": "time_series",
"hide": true,
"instant": false,
@@ -712,7 +716,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7,histogram_quantile(0.95, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (le,span_name)))",
+ "expr": "topk(7,histogram_quantile(0.95, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__range])) by (le,span_name)))",
"hide": false,
"instant": true,
"interval": "",
@@ -727,7 +731,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.99, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
+ "expr": "histogram_quantile(0.99, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
"hide": true,
"interval": "",
"legendFormat": "quantile99",
@@ -741,7 +745,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "histogram_quantile(0.999, sum(rate(duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
+ "expr": "histogram_quantile(0.999, sum(rate(traces_span_metrics_duration_milliseconds_bucket{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])) by (le,service_name))",
"hide": true,
"interval": "",
"legendFormat": "quantile999",
@@ -791,8 +795,16 @@
"interval": "5m",
"options": {
"displayMode": "lcd",
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": false
+ },
+ "maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
+ "namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -801,9 +813,11 @@
"fields": "",
"values": false
},
- "showUnfilled": true
+ "showUnfilled": true,
+ "sizing": "auto",
+ "valueMode": "color"
},
- "pluginVersion": "9.1.0",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -812,7 +826,7 @@
},
"editorMode": "code",
"exemplar": false,
- "expr": "topk(7, sum by (span_name,service_name)(increase(duration_milliseconds_sum{service_name=~\"${service}\", span_name=~\"$span_name\"}[5m]) / increase(duration_milliseconds_count{service_name=~\"${service}\",span_name=~\"$span_name\"}[5m\n])))",
+ "expr": "topk(7, sum by (span_name,service_name)(increase(duration_milliseconds_sum{service_name=~\"${service}\", span_name=~\"$span_name\"}[5m]) / increase(traces_span_metrics_duration_milliseconds_count{service_name=~\"${service}\",span_name=~\"$span_name\"}[5m\n])))",
"instant": true,
"interval": "",
"legendFormat": "{{span_name}} [{{service_name}}]",
@@ -821,7 +835,6 @@
}
],
"title": "Top 7 Highest Endpoint Latencies Mean Over Range ",
- "transformations": [],
"type": "bargauge"
},
{
@@ -835,11 +848,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "none",
@@ -848,6 +863,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
@@ -907,7 +923,7 @@
"sort": "none"
}
},
- "pluginVersion": "8.4.7",
+ "pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
@@ -916,7 +932,7 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "topk(7,sum by (span_name,service_name)(increase(duration_milliseconds_sum{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval]) / increase(duration_milliseconds_count{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])))",
+ "expr": "topk(7,sum by (span_name,service_name)(increase(traces_span_metrics_duration_milliseconds_sum{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval]) / increase(traces_span_metrics_duration_milliseconds_count{service_name=~\"$service\", span_name=~\"$span_name\"}[$__rate_interval])))",
"instant": false,
"interval": "",
"legendFormat": "[{{service_name}}] {{span_name}}",
@@ -928,16 +944,15 @@
"type": "timeseries"
}
],
+ "preload": false,
"refresh": "5m",
- "schemaVersion": 37,
- "style": "dark",
+ "schemaVersion": 40,
"tags": [],
"templating": {
"list": [
{
"allValue": ".*",
"current": {
- "selected": false,
"text": "All",
"value": "$__all"
},
@@ -945,26 +960,23 @@
"type": "prometheus",
"uid": "webstore-metrics"
},
- "definition": "query_result(count by (service_name)(count_over_time(calls_total[$__range])))",
- "hide": 0,
+ "definition": "query_result(count by (service_name)(count_over_time(traces_span_metrics_calls_total[$__range])))",
"includeAll": true,
"multi": true,
"name": "service",
"options": [],
"query": {
- "query": "query_result(count by (service_name)(count_over_time(calls_total[$__range])))",
+ "query": "query_result(count by (service_name)(count_over_time(traces_span_metrics_calls_total[$__range])))",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/.*service_name=\"(.*)\".*/",
- "skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"allValue": ".*",
"current": {
- "selected": false,
"text": "All",
"value": "$__all"
},
@@ -972,20 +984,17 @@
"type": "prometheus",
"uid": "webstore-metrics"
},
- "definition": "query_result(sum ({__name__=~\".*calls_total\",service_name=~\"$service\"}) by (span_name))",
- "hide": 0,
+ "definition": "query_result(sum ({__name__=~\".*traces_span_metrics_calls_total\",service_name=~\"$service\"}) by (span_name))",
"includeAll": true,
"multi": true,
"name": "span_name",
"options": [],
"query": {
- "query": "query_result(sum ({__name__=~\".*calls_total\",service_name=~\"$service\"}) by (span_name))",
+ "query": "query_result(sum ({__name__=~\".*traces_span_metrics_calls_total\",service_name=~\"$service\"}) by (span_name))",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/.*span_name=\"(.*)\".*/",
- "skipUrlSync": false,
- "sort": 0,
"type": "query"
}
]