Thanks for the answer. Well, it is not only fans, there are dozens of other status fields as well (i'm doing an idrac snmp exporter). And that for technically dozens of servers. Should I try to stick with the StateSet or should I switch to just expose the numerical represenation?
[email protected] schrieb am Sonntag, 17. Juli 2022 um 10:50:43 UTC+2: > For things that have state changes you care about, I usually recommend > EnumAsStateSet. > > The good news is that Prometheus deals with compressing the boolean values > very well. And since all fans have the same set of states, those values are > deduplicated in the index. > > So while it looks like a lot in the metric output, it stores well in the > TSDB. > > The question is, how many fans on how many servers are we talking about? > > On Sun, Jul 17, 2022 at 6:26 AM Roman Baeriswyl <[email protected]> > wrote: > >> Hey all >> I am working on a Dell iDRAC SNMP Exporter and I struggle with "Status" >> fields. >> I think there are three main possibilities: >> >> 1. EnumAsStateSet >> The downside here is that it can really clutter the output. For example >> the Dell Fans have 10 possible status, so each fan has 10 fields where only >> one is set to "1". >> >> 2. EnumAsInfo >> The downside here is that have not so nice time history and it is >> probably harder to create alerts. >> >> 3. Use the numeric value >> The downside here is that you need to do the enum lookup in the alert / >> dashboard. >> >> What do you think is in general the best way for such status? >> >> Thanks for your input. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Prometheus Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/2b0defe0-0a8e-4ae5-be10-bc0efcadcd73n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/2b0defe0-0a8e-4ae5-be10-bc0efcadcd73n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6e4f9bd9-239a-4f24-9735-c5540e9b1411n%40googlegroups.com.

