Thanks, I'll check it out.

On Mon, Mar 22, 2021 at 6:07 PM Stuart Clark <[email protected]>
wrote:

> 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/CAGAaoRD23tFZAVj9W9QNosF6bF9zk96Rf85d-bA4vxsEcRR2LQ%40mail.gmail.com.

Reply via email to