On 2021-03-22 14:58, Tuna Bozkır wrote:
Hello, I want to take all servers name and I tried: up{job="Server_All"} And output is :up{Active="true",DN="CN=SvTSTD12,OU=Test,OU=Xxx,OU=Comp,DC=e..,DC=b..",Domain="Est",Site="eeee",instance="svss",job="Server_All"} : 1 But I want to take one of label not a value(CN: SvTS...). How can I do that ? Thank you for helping.
What tool are you using to extract this information? If Grafana then you can choose which labels to display.
Alternatively if you are just wanting a listing of all unique DN labels you could do something like "sum by (DN) (up)"
-- Stuart Clark -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" 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-developers/a82a6e64b52a5cc8571b920cf4912fd4%40Jahingo.com.

