Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have my metrics name dynamic? #290

Open
gaurao29 opened this issue Feb 8, 2024 · 0 comments
Open

Is it possible to have my metrics name dynamic? #290

gaurao29 opened this issue Feb 8, 2024 · 0 comments

Comments

@gaurao29
Copy link

gaurao29 commented Feb 8, 2024

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
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant