No metrics are scraped #1461
-
Busy with a spike using promitor. My goal is to setup discovery of the vms I have created and use the scraper to gather the metrics i have defined. I'm using minikube cluster and a connection to Azure subscription. I have everything configured as it should be, like mentioned in the documentation (walkthrough, etc). Also on prometheus I have created a scrape job, which is ok. The only thing is that I don't see any metrics on the metrics endpoint coming in/page is empty. I also looked at the logs of the pods, but these seem ok (config validation was ok). The only thing I see is a warning in the scrape logs. Below the config, log details. I'm looking at a way to troubleshoot the issue with a debug mode. It seems maybe the connection to azure is still not ok? logs scrape
logs discovery
I have added a service principal where I have created a VM to gather metrics from.
I have both the pods up and running
Used the following config with Helm3 resource discovery values.yaml
scraper values.yaml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hm odd. Can you share your raw configmaps & services please? I think the service name might be wrong but want to verify that the generated configs are correct. Thansk for trying Promitor btw and sorry for the hick-up! |
Beta Was this translation helpful? Give feedback.
Hm odd. Can you share your raw configmaps & services please? I think the service name might be wrong but want to verify that the generated configs are correct.
Thansk for trying Promitor btw and sorry for the hick-up!