Guyys?

On Tuesday, 24 November 2020 at 23:10:22 UTC-8 Shubham Shrivastav wrote:

> Hello,
> I'm trying to scrape all services that have labels *app: core. *However, 
> after adding the below section to kubernetes_sd_configs, I'm not getting 
> limited services in the Prometheus targets list. In fact, the configuration 
> file does not save saying not able to parse the YAML config file.
>
> After I remove the below section it works fine. I'm placing it in the 
> config file as mentioned below:
>
> *kubernetes_sd_configs:*
> * - role: service*
> * namespaces:*
> * names:*
> * - ns-1*
> *selectors:*
> * - role: service*
> * label: "app=core"*
>
> Can anyone help me out with this?
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/59d2addf-cf68-4955-b2d7-c30d82f02a28n%40googlegroups.com.

Reply via email to