Is it possible to have my metrics name dynamic?
gaurao29 opened this issue · 0 comments
gaurao29 commented
Looking for how I can add service_name and host_id as label and checks[*].name as metrics name dynamically.
{
"service_name": "service_1",
"host_id": "localhost",
"checks": [
{
"name": "db_check",
"component": "dbdev",
"duration": 1.47,
"status": true
},
{
"name": "http_check",
"component": "service1",
"duration": 1.23,
"status": true
}
]
}