webdevops / azure-metrics-exporter

Azure Monitor metrics exporter for Prometheus with dimension support, template engine and ServiceDiscovery
MIT License
118 stars 24 forks source link

Getting "msg":"parameter \"subscription\" is missing" #87

Closed hantalj closed 1 month ago

hantalj commented 2 months ago

Hello guys,

Thank you for your hard work with the exporter! We are deploying it to k8s and started getting the metrics in prometheus but still seeing this warning in the logs periodically: "level":"warn","caller":"azure-metrics-exporter/probe_metrics_list.go:39","msg":"parameter \"subscription\" is missing","requestPath":"/probe/metrics/list" Port-forwarding in the pod http://localhost:8080/probe/metrics/list gives parameter "subscription" is missing but the query endpoint works fine.

Would you have any idea please? Thank you!

Jozsef

hantalj commented 1 month ago

After swapping to your helm chart we stopped seeing the issue.

hantalj commented 1 month ago

We might had different issue under the hood...