Metrics
everything the exporter publishes at /metrics.
endpoint
once the exporter is running, metrics are scrapeable at http://localhost:9999/metrics.
sample output
# HELP qdrant_up Whether Qdrant is reachable
# TYPE qdrant_up gauge
qdrant_up 1
# HELP qdrant_collection_points Number of points per collection
# TYPE qdrant_collection_points gauge
qdrant_collection_points{collection="my_collection"} 150000
qdrant_collection_points{collection="test_vectors"} 50000available metrics
| metric | description | labels / values |
|---|---|---|
| qdrant_up | whether the exporter can reach qdrant | 1 = up, 0 = down |
| qdrant_collection_points | number of points in each collection | collection |
| qdrant_collection_vectors | number of vectors in each collection | collection |
| qdrant_collection_indexed_vectors | number of indexed vectors in each collection | collection |
| qdrant_collection_segments | number of segments in each collection | collection |
| qdrant_collection_status | collection status mapped to a number | collection · 1=green, 2=yellow, 3=red, 0=unknown |
access points
- exporter metrics: http://localhost:9999/metrics
- prometheus graph: http://localhost:9091/graph
- prometheus targets: http://localhost:9091/targets
- grafana: http://localhost:3000 (admin / admin)
prometheus ports are different
http://localhost:9091 is the host-mapped prometheus ui from docker compose. http://localhost:9090 is the container's internal port — don't use that from your browser.
prometheus scrape config
prometheus inside docker must use the container name, not localhost:
prometheus.yml
scrape_configs:
- job_name: 'qdrant-exporter'
static_configs:
- targets: ['exporter:9999']
scrape_interval: 15sgrafana dashboard
import the pre-built dashboard in a few clicks:
- login to grafana (admin / admin)
- go to configuration → data sources → add data source
- pick prometheus
- set the url to
http://prometheus:9090(internal docker network name) - hit "save & test"
- import
examples/grafana-dashboard.json
the dashboard will auto-bind to the prometheus data source and render charts for every collection metric.