If an SNMP table uses indexes 0 thru 7, is there a way to renumber it 1
thru 8?

For example I'm using this lookup to add outlet labels to a PDU:

    lookups:
      - source_indexes: [outletIndex]
        lookup: outletName
        drop_source_indexes: false

The resulting metric looks like this:
outletActualStatus{outletIndex="0",outletName="MacStudio"} 1

I want it to look like this
outletActualStatus{outletIndex="1",outletName="MacStudio"} 1

I tried playing with the `offset` option but that seems to only affect the
value, not the label.

-- 
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/CALajkdhoehH%3D%2BiriaiDQA6QD8eCvUbrVPGzCD7MgOHbBEr-%3DBQ%40mail.gmail.com.

Reply via email to