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

High cardinality rest client metrics #249

Open
SuperQ opened this issue Jan 23, 2025 · 0 comments
Open

High cardinality rest client metrics #249

SuperQ opened this issue Jan 23, 2025 · 0 comments

Comments

@SuperQ
Copy link
Contributor

SuperQ commented Jan 23, 2025

The rest_client_reuqest_duration_seconds histogram produces some noisy cardinality due to the host label leaking parameters.

For example: count by (host) (rest_client_duration_seconds_count) produces labels like this:

{host="http://X.X.X.X:443/apis?timeout=32s"}
{host="http://X.X.X.X:443/apis/v1/namespaces/%7Bnamespace%7D/events"}

This label should probably be reduced to just the target hostname:port. If an API type is desired a separate, limited, label should be added.

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