feat: добавлена обработка "достоверных" документов, направляемых посредством отправления агенту "достоверных" документов, добавлен функционал добавления title в chunk content`а, обновлены configmap.yaml и values.yaml

This commit is contained in:
mike committed 2026-12-02 14:53:18 +03:00
1 parent 2b1f85bfc1
commit dd0a124e36
35 files changed
+3107 -183

No files matched your search

+80
View File
@@ -0,0 +1,80 @@
{
"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"}}
}
]
}
@@ -0,0 +1,11 @@
apiVersion: 1
providers:
- name: ETL
orgId: 1
folder: ETL
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards
@@ -0,0 +1,9 @@
apiVersion: 1
datasources:
- name: Prometheus
uid: prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true