-
Notifications
You must be signed in to change notification settings - Fork 650
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
Cardinality of snmp_collection_duration histograms #978
Comments
I thought the auth+module combination would be useful, but maybe you're right, if you really need that much granularity you can use |
SuperQ
added a commit
that referenced
this issue
Aug 30, 2023
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>
Also, snmp_exporter itself returns some per-scrape metrics from the
|
SuperQ
added a commit
that referenced
this issue
Aug 30, 2023
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>
stephan-windischmann-sky
pushed a commit
to stephan-windischmann-sky/snmp_exporter
that referenced
this issue
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>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
(Moved from #950)
The
/metrics
endpoint carries snmp_collection_duration histograms. Since the separation ofmodule
andauth
parameters, these now suffer from an NxM cardinality, because every combination of(auth,module)
is listed - even those which are never used.I propose that this be changed to grouping on just
(module)
. If you happen to use different auth credentials for different devices, it doesn't necessarily have a meaningful relationship to different classes of device.(Aside: I wonder if passing an explicit "class" scrape parameter, which defaults to the module name, might be a useful addition. You could then collect statistics specifically for a given target or group of targets, which are meaningful to you. But the same effect could be achieved by simply duplicating a particular module under a different name)
snmp_exporter version
The text was updated successfully, but these errors were encountered: