MongoDB Profiler Exporter 901901
1/31/2024
8/9/2024
7
Databases
>=9.2.15
Prometheus
This exporter regularly retrieves data from the system.profile collection and consolidates it into metrics. Additionally, the exporter fetches query shape examples for each queryHash, enabling the creation of an informative table detailing slow queries.
Install MongoDB Profiler Exporter
add prometheus job:
scrape_configs:
- job_name: "mongodb-profiler-exporter"
scrape_interval: 10s
metrics_path: /metrics
static_configs:
- targets: ['127.0.0.1:9179']
Get Dashboard✕
Download
Copy to Clipboard
Used Metrics 1212
slow_queries_count_total
op
plan_summary
query_framework
query_shape
topk
slow_queries_info
slow_queries_duration_total
slow_queries_nreturned_total
slow_queries_docs_examined_total
Inf
slow_queries_keys_examined_total