How do I extract more metrics such as apiserver, data store and etcd in Azure managed Grafana?

Saleh 0 Reputation points
2023-03-16T03:14:53.2566667+00:00

Hi

I want to get more metrics in Prometheus such as -  apiserver_request_duration_seconds and coredns_cache_hits_total – however after applying the Configmap listed on GitHub *- https://github.com/Azure/prometheus-collector/blob/main/otelcollector/configmaps/ama-metrics-settings-configmap.yaml URL: https://github.com/Azure/prometheus-collector/blob/main/otelcollector/configmaps/ama-metrics-settings-configmap.yaml

Click to follow link.")  with apiserver* and coredns switched to “true”- I am still not able to see the metrics in Grafana.

 

What else is missing?

I am following Vishwanath on this page - https://medium.com/microsoftazure/azure-monitor-managed-service-for-prometheus-overview-791f99d54644

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,874 questions
Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
85 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,316 Reputation points Microsoft Employee
    2023-03-21T22:54:14.52+00:00

    Hi @Saleh ,

    Checkout Customize scraping of Prometheus metrics in Azure Monitor (preview) which describes the default targets that are scraped and how to modify those settings to collect more metrics. To scrape additional targets, refer to Create and validate custom configuration file for Prometheus metrics in Azure Monitor (preview).

    0 comments No comments