Many SNMP devices return bogus numbers for sensors that don't exist.  For 
example a Dataprobe iBoot PDU shows a temperature value of 99999 celsius if 
you don't buy the optional temperature sensor.  Is it possible to configure 
the prometheus scrape to drop metrics with a certain value like this?

Google Gemini suggested using relabel_configs with source_labels = 
["__value__"] but I don't think that internal label actually exists.

In Telegraf I do this with a starlark processor:
def apply(metric):
    for field, value in metric.fields.items():
        if value == 999.99:
            metric.fields.pop(field)
    return metric

-- 
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 visit 
https://groups.google.com/d/msgid/prometheus-users/82ed74d8-c44e-42f7-9006-5849013c5651n%40googlegroups.com.

Reply via email to