81 lines
2.9 KiB
JSON
81 lines
2.9 KiB
JSON
{
|
|
"title": "ETL Service",
|
|
"uid": "etl-service",
|
|
"schemaVersion": 39,
|
|
"version": 1,
|
|
"refresh": "5s",
|
|
"time": {"from": "now-1h", "to": "now"},
|
|
"panels": [
|
|
{
|
|
"id": 1,
|
|
"type": "stat",
|
|
"title": "Rows processed",
|
|
"gridPos": {"h": 4, "w": 6, "x": 0, "y": 0},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [{"expr": "etl_rows_processed_total", "refId": "A", "instant": true}],
|
|
"options": {"reduceOptions": {"calcs": ["lastNotNull"]}, "colorMode": "value"}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "stat",
|
|
"title": "Chunks upserted",
|
|
"gridPos": {"h": 4, "w": 6, "x": 6, "y": 0},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [{"expr": "etl_chunks_upserted_total", "refId": "A", "instant": true}],
|
|
"options": {"reduceOptions": {"calcs": ["lastNotNull"]}, "colorMode": "value"}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "stat",
|
|
"title": "Files processed",
|
|
"gridPos": {"h": 4, "w": 6, "x": 12, "y": 0},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [{"expr": "etl_files_processed_total", "refId": "A", "instant": true}],
|
|
"options": {"reduceOptions": {"calcs": ["lastNotNull"]}, "colorMode": "value"}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "stat",
|
|
"title": "Files failed",
|
|
"gridPos": {"h": 4, "w": 6, "x": 18, "y": 0},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [{"expr": "etl_files_failed_total", "refId": "A", "instant": true}],
|
|
"options": {"reduceOptions": {"calcs": ["lastNotNull"]}, "colorMode": "background"}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "timeseries",
|
|
"title": "Rows per second",
|
|
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 4},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [
|
|
{"expr": "rate(etl_rows_processed_total[$__rate_interval])", "refId": "A", "legendFormat": "rows/s"}
|
|
],
|
|
"options": {"legend": {"displayMode": "list", "placement": "bottom"}}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "timeseries",
|
|
"title": "Chunks per second",
|
|
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 4},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [
|
|
{"expr": "rate(etl_chunks_upserted_total[$__rate_interval])", "refId": "A", "legendFormat": "chunks/s"}
|
|
],
|
|
"options": {"legend": {"displayMode": "list", "placement": "bottom"}}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "timeseries",
|
|
"title": "Cumulative rows and chunks",
|
|
"gridPos": {"h": 8, "w": 24, "x": 0, "y": 12},
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"targets": [
|
|
{"expr": "etl_rows_processed_total", "refId": "A", "legendFormat": "rows"},
|
|
{"expr": "etl_chunks_upserted_total", "refId": "B", "legendFormat": "chunks"}
|
|
],
|
|
"options": {"legend": {"displayMode": "list", "placement": "bottom"}}
|
|
}
|
|
]
|
|
}
|