Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove auth label from collection metric #981

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Aug 30, 2023

Remove the auth label from the exporter collection duratoin histogram as it causes too much cardinality.

Fixes: #978

Remove the `auth` label from the exporter collection duratoin histogram
as it causes too much cardinality.

Fixes: #978

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ
Copy link
Member Author

SuperQ commented Aug 30, 2023

👓 @bastischubert @candlerb

@RichiH
Copy link
Member

RichiH commented Aug 30, 2023 via email

@RichiH
Copy link
Member

RichiH commented Aug 30, 2023 via email

@candlerb
Copy link
Contributor

It's on /metrics

@candlerb
Copy link
Contributor

I have tested this, now one histogram per module: LGTM.

$ curl -fsS 'localhost:9116/metrics' | grep ^snmp_collection_duration | wc -l
     308

@SuperQ SuperQ requested a review from RichiH August 30, 2023 17:08
@SuperQ SuperQ merged commit 4654d36 into main Aug 30, 2023
@SuperQ SuperQ deleted the superq/remove_auth_label branch August 30, 2023 17:08
SuperQ added a commit that referenced this pull request Sep 1, 2023
* [BUGFIX] Remove auth label from collection metric #981

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Sep 1, 2023
SuperQ added a commit that referenced this pull request Sep 1, 2023
* [BUGFIX] Remove auth label from collection metric #981

Signed-off-by: SuperQ <superq@gmail.com>
stephan-windischmann-sky pushed a commit to stephan-windischmann-sky/snmp_exporter that referenced this pull request Oct 27, 2023
Remove the `auth` label from the exporter collection duratoin histogram
as it causes too much cardinality.

Fixes: prometheus#978

Signed-off-by: SuperQ <superq@gmail.com>
Signed-off-by: Stephan Windischmann <windi@Stephans-MacBook-Pro.local>
stephan-windischmann-sky pushed a commit to stephan-windischmann-sky/snmp_exporter that referenced this pull request Oct 27, 2023
* [BUGFIX] Remove auth label from collection metric prometheus#981

Signed-off-by: SuperQ <superq@gmail.com>
Signed-off-by: Stephan Windischmann <windi@Stephans-MacBook-Pro.local>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cardinality of snmp_collection_duration histograms
3 participants