Skip to content

Add a metric with service level and it's response #64

@serge1peshcoff

Description

@serge1peshcoff

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

We plan to use ciao in our project and its metrics in prometheus, to create alerts. There is a number of unhealthy services in metrics, but it's impossible to understand which service is faulty.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add a metric which would return the status code per each service, like this:

ciao_checks_statuses{label="service1"} 200
ciao_checks_statuses{label="service2"} 503

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I don't know about such ones

Additional context
Add any other context or screenshots about the feature request here.

As this is my feature request I can implement it myself (I have relevant RoR experience), this issue is mostly for the discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions