Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Integration with Azure Monitor Logs Question #89

Open
zhicaigian opened this issue Sep 16, 2021 · 0 comments
Open

Integration with Azure Monitor Logs Question #89

zhicaigian opened this issue Sep 16, 2021 · 0 comments

Comments

@zhicaigian
Copy link

zhicaigian commented Sep 16, 2021

Hi all,
I have followed https://docs.microsoft.com/en-us/azure/azure-monitor/containers/container-insights-prometheus-integration
documentation and currently we have cluster-wide omsagent replicaset (singleton) to scrape from the ccloudexporter deployment in AKS via kubernetes service.

kubectl logs <ccloudexporter> pod says "Listening on http://:2112/metrics\n", and

and just example of 1 of the lines in kubectl logs <omsagent rs> pod says
> prometheus, address=x.x.x.x, scrapeUrl=http://ccloudexportersvc.ccloudexporternamespace.svc.cluster.local:2112/metrics go_memstats_heap_objects=2577

However, in Azure portal > kubernetes service > one of the cluster > Logs > and I've ran queries such as

InsightsMetrics
| where Namespace contains "prometheus"
| where Computer contains "<hostname/node of the omsagent rs>

but the query returns no result.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant