Skip to content
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
5 changes: 5 additions & 0 deletions deploy/telemetry-functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ that every heavy hitter is in the exact list (about 10 routes reach 1% here);
a window whose exact top 20 is all above the threshold only gets
`asap_hh_incomplete`.

Each dashboard also shows every pipeline's throughput: the points per window
that reached the end of the pipeline (`asap_points`; for raw, the points
`loki-raw` acknowledged) divided by the window length, against the offered
2 x 20,000 points/s.

Every pipeline reports its window completion delay as `asap_answer_delay`
(seconds from a window's end until its result is complete at the end of the
pipeline): sketch and exact when their detector emits the window's answers,
Expand Down
90 changes: 86 additions & 4 deletions deploy/telemetry-functions/grafana/dashboards/cardinality.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,88 @@
},
"id": 5
},
{
"type": "timeseries",
"id": 10,
"title": "Throughput per pipeline: points per second each window delivered to the end of its pipeline",
"description": "Points in each 1-minute window that reached the end of the pipeline, divided by 60 s: for sketch and exact the points their detector answered for, for raw the points loki-raw acknowledged. Offered: 2 sources x 20,000 points/s. A pipeline below the offered line is dropping or falling behind.",
"datasource": {
"type": "prometheus",
"uid": "asap-prometheus"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 28
},
"targets": [
{
"refId": "A",
"expr": "sum by (method) (asap_points{method=~\"sketch|exact\",attribute_key=\"http.route\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "B",
"expr": "sum by (method) (asap_points{method=\"raw\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "C",
"expr": "vector(40000)",
"legendFormat": "offered"
}
],
"fieldConfig": {
"defaults": {
"unit": "short",
"decimals": 0,
"min": 0,
"custom": {
"spanNulls": true,
"showPoints": "always",
"pointSize": 6
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "offered"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
6,
4
]
}
},
{
"id": "color",
"value": {
"mode": "fixed",
"fixedColor": "#8e8e8e"
}
},
{
"id": "custom.showPoints",
"value": "never"
}
]
}
]
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
},
{
"type": "timeseries",
"title": "Window completion delay: seconds from a window's end until its result is complete",
Expand All @@ -302,7 +384,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 28
"y": 36
},
"targets": [
{
Expand Down Expand Up @@ -380,7 +462,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 28
"y": 36
},
"targets": [
{
Expand Down Expand Up @@ -457,7 +539,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 36
"y": 44
},
"targets": [
{
Expand Down Expand Up @@ -538,7 +620,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 36
"y": 44
},
"targets": [
{
Expand Down
90 changes: 86 additions & 4 deletions deploy/telemetry-functions/grafana/dashboards/drift.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,88 @@
]
}
},
{
"type": "timeseries",
"id": 10,
"title": "Throughput per pipeline: points per second each window delivered to the end of its pipeline",
"description": "Points in each 1-minute window that reached the end of the pipeline, divided by 60 s: for sketch and exact the points their detector answered for, for raw the points loki-raw acknowledged. Offered: 2 sources x 20,000 points/s. A pipeline below the offered line is dropping or falling behind.",
"datasource": {
"type": "prometheus",
"uid": "asap-prometheus"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 26
},
"targets": [
{
"refId": "A",
"expr": "sum by (method) (asap_points{method=~\"sketch|exact\",attribute_key=\"\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "B",
"expr": "sum by (method) (asap_points{method=\"raw\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "C",
"expr": "vector(40000)",
"legendFormat": "offered"
}
],
"fieldConfig": {
"defaults": {
"unit": "short",
"decimals": 0,
"min": 0,
"custom": {
"spanNulls": true,
"showPoints": "always",
"pointSize": 6
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "offered"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
6,
4
]
}
},
{
"id": "color",
"value": {
"mode": "fixed",
"fixedColor": "#8e8e8e"
}
},
{
"id": "custom.showPoints",
"value": "never"
}
]
}
]
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
},
{
"type": "timeseries",
"title": "Window completion delay: seconds from a window's end until its result is complete",
Expand All @@ -404,7 +486,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 26
"y": 34
},
"targets": [
{
Expand Down Expand Up @@ -482,7 +564,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 26
"y": 34
},
"targets": [
{
Expand Down Expand Up @@ -559,7 +641,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 34
"y": 42
},
"targets": [
{
Expand Down Expand Up @@ -640,7 +722,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 34
"y": 42
},
"targets": [
{
Expand Down
90 changes: 86 additions & 4 deletions deploy/telemetry-functions/grafana/dashboards/latency.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,88 @@
"overrides": []
}
},
{
"type": "timeseries",
"id": 9,
"title": "Throughput per pipeline: points per second each window delivered to the end of its pipeline",
"description": "Points in each 1-minute window that reached the end of the pipeline, divided by 60 s: for sketch and exact the points their detector answered for, for raw the points loki-raw acknowledged. Offered: 2 sources x 20,000 points/s. A pipeline below the offered line is dropping or falling behind.",
"datasource": {
"type": "prometheus",
"uid": "asap-prometheus"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 26
},
"targets": [
{
"refId": "A",
"expr": "sum by (method) (asap_points{method=~\"sketch|exact\",attribute_key=\"\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "B",
"expr": "sum by (method) (asap_points{method=\"raw\"}) / 60",
"legendFormat": "{{method}}"
},
{
"refId": "C",
"expr": "vector(40000)",
"legendFormat": "offered"
}
],
"fieldConfig": {
"defaults": {
"unit": "short",
"decimals": 0,
"min": 0,
"custom": {
"spanNulls": true,
"showPoints": "always",
"pointSize": 6
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "offered"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"fill": "dash",
"dash": [
6,
4
]
}
},
{
"id": "color",
"value": {
"mode": "fixed",
"fixedColor": "#8e8e8e"
}
},
{
"id": "custom.showPoints",
"value": "never"
}
]
}
]
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
},
{
"type": "timeseries",
"title": "Window completion delay: seconds from a window's end until its result is complete",
Expand All @@ -354,7 +436,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 26
"y": 34
},
"targets": [
{
Expand Down Expand Up @@ -432,7 +514,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 26
"y": 34
},
"targets": [
{
Expand Down Expand Up @@ -509,7 +591,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 34
"y": 42
},
"targets": [
{
Expand Down Expand Up @@ -590,7 +672,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 34
"y": 42
},
"targets": [
{
Expand Down
Loading