Schema for metric store

This commit is contained in:
Aditya Ujeniya
2025-10-23 17:58:17 +02:00
parent bc43c844fc
commit f34e10cfd9
5 changed files with 102 additions and 181 deletions

View File

@@ -34,9 +34,9 @@
{
"name": "fritz",
"metricDataRepository": {
"kind": "cc-metric-store",
"kind": "cc-metric-store-internal",
"url": "http://localhost:8082",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9"
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlcyI6WyJST0xFX0FETUlOIiwiUk9MRV9BTkFMWVNUIiwiUk9MRV9VU0VSIl19.d-3_3FZTsadPjDEdsWrrQ7nS0edMAR4zjl-eK7rJU3HziNBfI9PDHDIpJVHTNN5E5SlLGLFXctWyKAkwhXL-Dw"
},
"filterRanges": {
"numNodes": {
@@ -56,9 +56,9 @@
{
"name": "alex",
"metricDataRepository": {
"kind": "cc-metric-store",
"kind": "cc-metric-store-internal",
"url": "http://localhost:8082",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9"
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlcyI6WyJST0xFX0FETUlOIiwiUk9MRV9BTkFMWVNUIiwiUk9MRV9VU0VSIl19.d-3_3FZTsadPjDEdsWrrQ7nS0edMAR4zjl-eK7rJU3HziNBfI9PDHDIpJVHTNN5E5SlLGLFXctWyKAkwhXL-Dw"
},
"filterRanges": {
"numNodes": {
@@ -78,15 +78,16 @@
],
"metric-store": {
"checkpoints": {
"file-format": "avro",
"interval": "2h",
"file-format": "json",
"interval": "1h",
"directory": "./var/checkpoints",
"restore": "48h"
},
"archive": {
"interval": "2h",
"interval": "1h",
"directory": "./var/archive"
},
"retention-in-memory": "48h"
}
},
"ui-file": "./configs/uiConfig.json"
}