The example:

- From IF-MIB, getting ifHighSpeed gives an ifIndex in the returned 
informations
- From LLDP-MIB getting lldpLocPortDesc gives lldpLocPortNum that is the 
same value as ifIndex

Joining the two queries results would permit to get some more informations 
into the same table.
Thanks

Le lundi 12 octobre 2020 à 14:43:33 UTC+2, [email protected] a écrit :

> Can you give a specific example?
>
> The solution in general is to make the labels align, e.g. see here 
> <https://www.robustperception.io/controlling-the-instance-label> for the 
> instance label.  There is also label_replace() 
> <https://prometheus.io/docs/prometheus/latest/querying/functions/#label_replace>
>  
> if you can modify the labels using regexp matches.  At worst, you would 
> create a third, static timeseries with appropriate labels to join the other 
> two timeseries onto, similar to the approach here 
> <https://www.robustperception.io/how-to-have-labels-for-machine-roles> 
> and here 
> <https://www.robustperception.io/exposing-the-software-version-to-prometheus>
> .
>

-- 
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/ac36e386-c2ed-4df8-b108-e1de4e6cb297n%40googlegroups.com.

Reply via email to