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 additional labels to the metrics #46

Open
emaincourt opened this issue Sep 28, 2021 · 0 comments
Open

Add additional labels to the metrics #46

emaincourt opened this issue Sep 28, 2021 · 0 comments
Assignees

Comments

@emaincourt
Copy link

Describe the feature

Hi,

As far as I know there is no way to define additional labels to attach to the exported metrics. It would be nice to allow the user to explicitly define custom labels to identify where the client metrics come from (eg. DBStats). Please tell me if I'm just missing the configuration that allows to do so. Otherwise, I would be very pleased to contribute in case my request seems relevant to you.

Motivation

Basically the limitation I'm facing at the moment with the current implementation is that when exporting metrics from multiple replicas of the same service, db_name is not enough to identify which metrics belong to which replica. Each replica should export metrics labeled with an identifier to make DBStats replica scoped.

Related Issues

N/A

Thanks in advance

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

2 participants