Thanks Brian for your suggestion.

I am using "kubernetes_sd_configs" to discover the targets dynamically. So
I just tried the below configuration, since I don't want to specify any
specific targets under "static_configs". But, this is not working as
expected as I can't see the custom label in the query results.

static_configs:
  - targets:
    - .*
    labels:
      foo: bar

Not sure if this implementation is correct or not. Please share your
suggestions.

Thanks

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

Reply via email to