Prometheus exporter5/2/2023 ![]() ![]() Use /filter to define a filter that allows you to include ( "mode": "include") or exclude (( "mode": "exclude")) a list of metrics. The default value is false, because most exporters expose their metrics via HTTP. Set /secure to true if you want to collect metrics that are exposed by an exporter via HTTPS. Use /path to override the default ( /metrics) Prometheus endpoint. Metrics port requiredīy default, Prometheus metrics are available at the first exposed TCP port of the pod. Set /scrape to 'true' to enable Dynatrace to collect Prometheus metrics exposed for this pod. Monitor Kubernetes namespaces, services, workloads, and podsĭynatrace collects metrics from any pods that are annotated with a /scrape property set to true in the pod definition.ĭepending on the actual exporter in a pod, you might need to set additional annotations to the pod definition in order to allow Dynatrace to properly ingest those metrics.In Dynatrace, go to your Kubernetes cluster settings page and enable An ActiveGate running inside the cluster will also provide improved performance. If your ActiveGate is running outside the monitored cluster (for example, in a VM or in a different Kubernetes cluster), it won't be able to scrape the Prometheus endpoint on pods that require authentication (such as RBAC or client authentication). Note: We recommend that you use an ActiveGate that is running inside the Kubernetes cluster from which you want to scrape Prometheus metrics. A counter-based metric for the sum, suffixed with _sum.count(for example, go_gc_duration_seconds_sum.count).A gauge-based metric with the same name as the original exported metric (for example, go_gc_duration_seconds), containing the buckets as dimensions.Note: A summary datatype is ingested as two metrics: See the list of available exporters in the Prometheus documentation. Prometheus scrapes metrics from a number of HTTP(s) endpoints that expose metrics in the OpenMetrics format.ĭynatrace integrates gauge, counter, and, starting with ActiveGate version 1.245, summary metrics from Prometheus exporters in Kubernetes and makes them available for charting, alerting, and analysis. Prometheus is an open-source monitoring and alerting toolkit which is popular in the Kubernetes community. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |