Hello folks, 

I'm want to connect prometheus running locally on my machine to k8 cluster 
running somewhere in a data center. For prometheus to talk to the k8 
cluster, i give it the kubeconfig that is used by local kubectl, via 
"kuernetes_sd_config.kubeconfig_file" config param. 

This failed because oidc auth provider, that is required by kubeconfig, is 
not supported in prom. It is easily fixed by importing "_ 
"k8s.io/client-go/plugin/pkg/client/auth/oidc" in discovery pkg.

The problem I face now is that the targets are *not* visible in the ui even 
when prom has successfully discovered them and is also successfully 
scraping them. This is confirmed by logs and tcpdump.

Prom version = 2.51. Prom config is pretty minimal and is shared in message 
below.

It'd be great if someone could help here. 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/d22bf6ab-47fd-4b04-99ac-df0a857c34f0n%40googlegroups.com.

Reply via email to