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

Add ability to set global label for every metrics from clusterwide config in Cartridge role (metrics.yml) #259

Closed
no1seman opened this issue Jul 9, 2021 · 0 comments · Fixed by #261
Assignees
Labels
customer feature A new functionality

Comments

@no1seman
Copy link
Contributor

no1seman commented Jul 9, 2021

It could be useful to add custom global labels to metrics.

Proposed configuration format:

metrics:
    export:
    - path: "/metrics/json"
       format: "json"
    - path: "/metrics/prom"
       format: "prometheus"
    global-labels:
          label-name1: value1
          label-name2: value2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer feature A new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants