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