Why teams monitor Qdrant with Prometheus
A self-hosted Qdrant cluster that serves search can fail quietly. A replica goes down, a disk fills, or an optimizer falls behind, and the first sign is often a user complaint about slow or missing results. Prometheus closes that gap: it scrapes the /metrics endpoint on every Qdrant peer, stores the series, and alerting rules turn those series into pages before users notice. The point of this section is that the cluster should report its own health continuously, and that a monitoring setup covering every peer is part of running Qdrant in production rather than an optional extra.
Prometheus is licensed under Apache-2.0 and has no paid enterprise edition, so the cost of monitoring Qdrant sits in three places: the storage and compute that hold the time series, the setup work of configuring scrape targets, rules and Alertmanager, and the people who respond to alerts and keep the stack upgraded. Storage cost is one-time to size and recurs as retention and series count grow. Setup is mostly one-time, though rule tuning continues. The local storage is not clustered or replicated, so the monitoring stack needs its own backup and failover plan. Ask any partner to price these components separately in a written scope.
Prometheus values reliability over precision, and its documentation says it is not a good choice where 100% accuracy is required, such as per-request billing. For operations this is an acceptable trade-off, but it means alert thresholds should be set with some margin and confirmed against Qdrant's own dashboards and logs. Before going further, confirm which Prometheus line your team will run: the project's long-term support line receives bug fixes for one year, and minor releases stop receiving fixes after roughly six weeks, so the upgrade plan matters as much as the first install.
Which Qdrant signals matter for capacity, replicas, optimizations and latency
Capacity signals tell you whether a peer can keep accepting writes and serving searches. Qdrant holds vectors and index structures in memory and on disk, so the question for each peer is how much headroom remains before memory, disk or a configured quota blocks writes. Scrape the process and filesystem families alongside Qdrant's own counters, because the host view and the node view can disagree.
- Resident memory: the process memory gauge shows how close each peer runs to its container or host limit. Compare it with the allocation you set, not only with total host memory.
- Disk usage: filesystem metrics for the storage path show free space. The installation docs require block storage with a POSIX-compatible file system, so check the volume that actually holds the data.
- Vector and collection totals: Qdrant's collection and vector counts show growth per peer, which helps you project when a node needs more RAM or disk.
- Quota and write-block state: check the metric or API that reports resource quota status in your version, since this area changes between releases.
Confirm exact memory, disk and quota metric names against your running version's /metrics output, then alert on headroom trends that match your sizing.
In distributed mode, Qdrant splits each collection into shards, keeps extra copies through the replication factor, and uses Raft for cluster topology. A healthy cluster has every replica active. A dead or partial replica can leave searches working while the cluster has lost its margin, so this group tracks whether the cluster can survive the next node failure.
- Cluster membership: the known peer count should match the number you deployed. The distributed deployment docs recommend at least three nodes in production so quorum survives one node failure.
- Replica state per shard: look for per-shard or per-replica state values that show active, dead or partial copies. Compare these with the cluster info endpoint for the same collection.
- Raft health: consensus-related metrics show whether a leader exists and whether a peer can reach it. A peer that falls out of sync is an early warning, even before a visible error.
- Storage effect of replicas: a replication factor of 2 doubles storage, so a lost replica also shifts load and disk use onto the remaining peers.
Scrape every peer, because a single node can report only its own view. Confirm the cluster and replica metric names in your version before writing alert rules.
Qdrant runs background optimizers that merge segments, vacuum deleted points and build indexes. Activity is normal after a bulk load, but long or repeated optimization competes with searches and writes for resources and can delay status changes. These signals help you separate healthy catch-up from a stuck optimizer.
- Optimizations in progress: an active-optimization gauge shows whether work is running now. Sustained high values after a load has finished justify investigation.
- Optimization duration: duration histograms show whether merges take longer as segments grow, which points to sizing or threshold problems.
- Segment counts: rising segment totals per collection mean optimizers are falling behind. High segment counts also connect to open file limits, so track them together.
- Deleted points: deleted points keep using space until vacuum runs. A rising share of deleted points with stalled optimization suggests thresholds that are too loose or an optimizer that stopped.
Correlate optimizer metrics with each collection's status, recent restarts and bulk write windows. Confirm exact metric names in your version, and note that the Qdrant optimizer behavior is covered in its own topic.
Request metrics show what clients experience. Qdrant exposes REST and gRPC response counters and duration histograms, labeled by endpoint and status. Because Prometheus stores histograms as buckets, percentiles come from functions such as histogram_quantile applied over a rate window, and averages hide the slow tail that users notice.
- Duration percentiles: compute p95 and p99 per endpoint and protocol from the duration histograms over a rate window. Use the same windows across dashboards so comparisons hold.
- Error ratios by status: divide 5xx and other error response counters by total responses. Storage-related rejections, such as 507 responses during quota blocks, appear here and need their own alert.
- Endpoint split: search, upsert and delete paths behave differently. Keep them separate so a slow bulk update does not mask search latency.
- Per-peer comparison: a single slow node often appears only in per-instance series. Look at each peer before aggregating across the cluster.
When latency rises, pair these metrics with the slow request log to find the cause. Confirm the histogram and label names in your version's output before you write percentile-based alerts.
Scrape, storage and alerting options and when each fits
This table compares the scrape discovery, storage and high availability choices for Prometheus monitoring of Qdrant peers. Read each row against your team size and how long you need metrics history. The main takeaway is that local storage is not clustered or replicated, so long-term or highly available metrics need a deliberate design.
| Option | What it gives you | Operational effort | When it fits |
|---|---|---|---|
| Static configuration | A fixed list of Qdrant peer addresses and ports in the Prometheus config | Low at first, but every node added or replaced needs a config change and reload | A small, stable cluster with a few peers that rarely change |
| Kubernetes service discovery | Peers found automatically from pods or endpoints, so new nodes are scraped without editing config | Moderate, since RBAC and label relabeling must be set up and tested | Qdrant runs on Kubernetes and nodes are added or rescheduled often |
| Local storage, 15 day default retention | Metrics kept on the Prometheus host in two-hour blocks, with retention set by time or size | Low, but you own disk sizing, backups and restarts of a single-node database | Short incident investigation windows and capacity checks on a recent history |
| Remote write to long-term storage | Samples sent to an external system for history beyond local retention and cross-team queries | Higher, since you run and pay for the receiving system and its credentials | Capacity planning or audit needs that require months of metrics history |
| Single Prometheus server | One scraper and one alert evaluator for all Qdrant peers | Lowest, but a restart or disk failure creates a monitoring gap | Non-critical environments where short gaps in metrics are acceptable |
| Pair of Prometheus servers scraping the same targets | Two independent copies of the same data, so one server failing leaves the other collecting | Higher, since both servers, their disks and their alert rules must stay in sync | Production clusters where a monitoring gap during an incident is not acceptable |
How to set up scraping for every Qdrant peer
This sequence confirms Qdrant's access settings, points Prometheus at each peer individually, and checks that every node and collection reports metrics before Alertmanager is wired in. The result is a scrape setup that still shows which node is unhealthy when one fails.
Confirm API key and TLS settings first
Before any scrape target is added, the team confirms which Qdrant peers have an API key, read-only key or JWT configuration and whether TLS is enabled on the REST port that serves /metrics. The Qdrant security documentation states that self-deployed instances listen on all interfaces with no authentication by default, so this check comes first. Whoever owns the cluster configuration (usually the platform team) confirms the settings in each peer's config file or environment, then records which header and certificate Prometheus must present. The step is done when each peer returns metrics only to a request carrying the expected credentials and every peer is reachable on the network path Prometheus will use.
Add one scrape target per peer
The Prometheus configuration gets one static target or discovery entry for each Qdrant node, not a single address behind a load balancer. A load balancer would send each scrape to a different peer at random, so the series for one node would be mixed with others and a failed node could go unnoticed. The platform engineer lists every peer's host and port, and sets the authorization header or TLS files in the scrape job so they match the step above. The step is done when the configuration validates with the promtool check config command and Prometheus reloads without errors.
Label jobs by cluster and node
Each scrape job carries labels that identify the cluster and the node, such as a cluster name and a peer name that stay fixed across restarts. Without these labels, metrics from three peers look identical and dashboards cannot show which replica is lagging or out of memory. The engineer sets the labels as static labels on each target, using names the team will reuse in alert rules and dashboards. The step is done when a query for one metric returns separate series for each peer with the expected cluster and node values.
Verify every target shows as up
The team opens the Prometheus targets page and confirms that each Qdrant peer is listed with the state up and a recent last scrape time. A target that shows down usually points to a wrong port, a missing credential or a certificate the scraper does not trust, so the engineer fixes that setting and waits for the next scrape cycle. The check is complete only when every peer is up, because a partial list means part of the cluster is unmonitored. The team should also confirm that the up metric returns 1 for each target in a query.
Confirm each collection appears in the series
Once targets are up, the engineer queries the metrics for collection-level series and checks that every collection on the cluster appears with its own label value. Collection labels can multiply series quickly as collections and shards grow, so the team also notes the number of distinct collection values and compares it with the expected count. A collection missing from the output may be on a peer that is not scraped, may not yet have reported after creation, or may be filtered by a relabeling rule. The step is done when the list of collections from the Qdrant API matches the collection values in Prometheus.
Deploy Alertmanager as a cluster
The team deploys Alertmanager with the cluster flags for high availability, then sets the Prometheus alerting configuration to list every Alertmanager instance. Prometheus should point at each instance directly rather than through a load balancer, according to the Alertmanager documentation, so each instance receives every alert and can deduplicate them. The engineer confirms that the Alertmanager instances can see each other and that the Prometheus alerting page lists all of them as active. The step is done when a test alert reaches the configured receiver from each Alertmanager node.
How Prometheus, Qdrant peers and Alertmanager connect
The diagram starts with Prometheus, which finds each Qdrant peer through service discovery or a static list and pulls its /metrics endpoint over HTTP. Every scrape crosses the trust boundary around the cluster, so each peer needs an API key on the scrape path and network rules that allow only the Prometheus host. Samples land in Prometheus local storage, which is not replicated, or leave through remote write. Fired alerts go to every Alertmanager instance, not through a load balancer. Check that each peer appears as a target and that scrapes succeed with the key.
Prometheus pulls metrics from each peer and sends alerts to every Alertmanager.
How per-collection labels drive series cardinality
Every collection, shard and replica can multiply the number of series Prometheus stores, so the label design you choose for Qdrant decides how much storage and query cost your monitoring carries. If Qdrant emits a per-collection label on its metrics, each collection adds its own set of series for every metric and every label combination. A platform that starts with a handful of collections and grows to hundreds of collections or per-tenant collections will see its series count, memory use and query times rise with it, even when the search traffic per collection is small. Before you scrape a large deployment, confirm which labels the running Qdrant version emits on each metric family, including whether shard or replica identifiers appear, by fetching /metrics from one peer and counting distinct label values. The Qdrant documentation at Qdrant installation is a reasonable starting point, but the metric output of your version is the authority.
Decide which labels to keep by asking which question each label answers. A collection label usually earns its place because it lets an on-call engineer see which workload is slow or full. A shard or replica label is useful during a node failure or a rebalance, but it multiplies series during normal operation, so you may want it only on the metrics you alert on. When a label is not needed for a dashboard or an alert, drop it at scrape time with metric_relabel_configs in the scrape job, or keep it only on a narrow match[] selection. Relabeling reduces what is stored, but it does not reduce what Qdrant generates, so note that the exporter still works at full cardinality on the node. Record each decision in the scrape configuration review so the next engineer knows why a label was removed.
Measure the series count in Prometheus itself rather than assuming the design holds. Watch prometheus_tsdb_head_series for the current number of active series, and scrape_samples_scraped and scrape_series_added on each Qdrant job to see which targets add the most. Track the growth rate of head series after each new collection or tenant is created, and set an alert on sustained growth that is larger than your planned capacity. Ask your platform team or your managed Prometheus provider what the memory cost per active series is in your environment, because that figure, not the number of collections, sets the sizing. Also confirm that retention and any remote write target can absorb the series you expect, since local storage is not replicated.
Alert rules worth starting with for Qdrant
A small set of alerts covers the failure modes that matter most for a self-hosted Qdrant cluster: lost scrapes, replicas falling behind, resources filling up, stalled optimizers, degraded request paths, and a broken monitoring stack. The cards below name the signal, why it matters and the tuning question to answer before setting any threshold.
Peer stops answering scrapes
Prometheus should alert when a Qdrant peer's /metrics target goes down, because a silent node hides every other signal from that peer. Scrape each peer individually rather than through a load balancer, so a failed target identifies the exact node. Tuning question: how long a gap is acceptable during a planned restart or rolling upgrade, so the for duration is longer than a normal restart but short enough to catch a crash loop.
Replicas out of sync or dead
Replica state changes in a distributed cluster mean the copies of a shard no longer match or are unavailable, which reduces fault tolerance even when searches still succeed. Alert on any replica that is not in an active state for longer than your normal recovery window. The docs recommend at least three nodes so quorum survives a node failure, so a single lost replica is a warning, while several at once is a page. Tuning question: which replica states your cluster reaches during normal shard transfers.
- Production minimum
- 3 nodes
Storage or memory nearing limits
Disk and memory pressure is the most common path to a Qdrant node failing at startup or refusing writes. Alert on the ratio of used to available disk and memory per node, not on absolute bytes, so a larger node does not hide a shrinking margin. Qdrant needs block storage on SSD or NVMe, so disk alerts should track the volume that holds collection data. Tuning question: how much headroom your workload needs during snapshot creation and segment merges, which temporarily consume extra space.
Installation docsOptimizations that stall
Optimizers merge segments, vacuum deleted points and build indexes in the background. When they stop progressing, deleted points keep consuming space, search can slow, and collections may stay in a non-green state. Alert when an optimization queue or count stays nonzero across several scrape intervals with no change. Tuning question: what your normal batch ingest and deletion pattern looks like, so a long optimization after a bulk load is not treated as a stall.
Distributed deployment docsSearch and update error rate rising
A rising share of failed or slow requests on search and update endpoints is the signal users feel first. Build the alert on the ratio of errors to total requests per endpoint, and keep latency alerts on histogram quantiles so a few slow queries stand out from the baseline. Separate search from update paths, because a write-side problem such as a full disk often appears there first. Tuning question: which request rate and latency your application tolerates, and which collections serve user-facing traffic.
Prometheus or Alertmanager itself down
A monitoring stack that is down produces no alerts, so the absence of alerts is not proof of health. Add a watchdog style rule that always fires and is routed to an external receiver, and alert when Prometheus cannot reach an Alertmanager instance. Prometheus should point at every Alertmanager instance rather than a load balancer, and each Alertmanager should be scraped for its own health. Tuning question: who is paged when the monitoring stack itself fails, and through which channel that does not depend on the same host.
Alertmanager docsQuestions buyers ask before monitoring Qdrant with Prometheus
Can our own team set up Prometheus monitoring for Qdrant without outside help?
Yes, if your team already runs Prometheus or a similar pull-based monitoring stack and has someone who can write PromQL and alert rules. The work is mostly configuration: scraping /metrics from every Qdrant peer, adding per-collection dashboards, writing alert rules and routing them through Alertmanager. The harder part is ownership. Someone must decide which metrics page on-call, tune thresholds against your real traffic and keep the configuration in version control. Teams without an existing Prometheus setup usually need to plan storage, retention and high availability for the monitoring stack itself before they touch Qdrant.
What drives the cost of monitoring Qdrant with Prometheus?
Prometheus is open source under Apache-2.0 and has no paid enterprise edition, so the cost comes from four components:
- Infrastructure to run Prometheus and Alertmanager, including redundant instances if you need alerting to survive a failure
- Storage for metrics, which grows with the number of series, scrape interval and retention period
- Setup work for scrape configuration, dashboards and alert rules
- On-call time spent responding to alerts and tuning them
Setup is usually a one-time cost. Infrastructure, storage and on-call recur. Your largest drivers are the number of Qdrant peers, the number of collections and how long you keep data. Ask any partner quote to split setup from ongoing support.
How long does a Qdrant Prometheus setup take?
The duration depends mainly on cluster size, how many collections you want labeled and how much monitoring already exists. A single node with an existing Prometheus instance is a small change. A multi-node cluster with several collections, separate dashboards for each team and alert routing to a new on-call rota takes longer, mostly because of the decisions about labels, thresholds and ownership. No duration is fixed here. Ask for a written scope that lists peers, collections, alert channels and the review step before you agree on a timeline.
What does the work need from our team?
Plan for four kinds of access and input before work starts:
- Read access to each Qdrant peer's
/metricsendpoint and the network paths from Prometheus to every node - Access to your existing Prometheus, Alertmanager and dashboard tools, or agreement on where new ones will run
- Named owners for each alert, who will accept pages and make threshold decisions
- A list of collections and the teams that depend on them, so labels and dashboards match how you work
If Qdrant API keys or TLS are enabled, the scrape configuration also needs the credentials handled through your secrets process.
Is Prometheus accurate enough for exact counts of Qdrant requests or vectors?
Prometheus values reliability over precision and is not a good choice where 100% accuracy is required, such as per-request billing. Its documentation describes this trade-off directly. For capacity planning, latency trends and alerting, the approximations are normally acceptable. For exact counts that feed invoices, compliance evidence or audit records, use an authoritative source such as Qdrant's own audit logging, your application logs or your billing system, and treat Prometheus as the operational view.
What security settings should Prometheus have when it scrapes Qdrant?
Qdrant ships with no authentication by default and listens on all network interfaces, so restrict who can reach each node's port before you add a scrape job. Confirm the scrape path and any required API key header against the Qdrant security documentation for your version. Store Prometheus credentials in a secrets manager, limit the Prometheus web interface and Alertmanager to authorized users, and check the Prometheus security model for the controls it expects you to add around it. Metric labels can reveal collection names, so review them with the same care as other operational data.
When should we move Qdrant alerting to a managed or Datadog-style tool instead?
Consider a managed or hosted tool when your organization already standardizes on one for other services, when nobody on the team wants to run Prometheus storage and high availability, or when audit and retention requirements call for a vendor's supported platform. Keep Prometheus when you need open configuration in version control, when your Kubernetes and application metrics already flow through it, or when you want to avoid per-metric pricing. Whichever you choose, keep the Qdrant alert thresholds and runbooks in one place so the decision does not fragment on-call. Ask the tool vendor to confirm how it ingests Qdrant's /metrics output in your version.
How DeployOpen scopes Qdrant monitoring
DeployOpen agrees the monitoring scope in writing before any configuration changes. The first step is a review of the Qdrant topology as it actually runs: how many peers form the cluster, which collections exist, the replication factor on each, and whether any node is still listening on all interfaces without authentication, which the Qdrant security documentation states is the default for self-deployed instances. The scrape design follows from that review, because every peer exposes its own /metrics endpoint and the list of targets, the scrape interval and the authentication header must match the real cluster layout. The written scope names the targets, the Prometheus and Alertmanager hosts, where the data is retained, and who owns each alert.
The second step agrees the dashboards and the alert set against the decisions the client needs to make. Typical questions include whether memory and disk headroom is tracked per node, whether replica health is alerted on separately from request latency, and whether optimizer activity is visible enough to explain slow periods. Each alert in the agreed set gets a named owner, a routing target and a documented response, so the on-call team knows what to do when it fires. Implementation then runs inside the client's own infrastructure, with Prometheus local storage managed as a single-node database and the retention settings the client chooses. Handover includes runbooks that cover scrape failures, alert tuning and the steps to add a peer when the cluster grows.
Ongoing tuning and testing of thresholds, dashboards and scrape targets are available as retainers, and they suit teams whose Qdrant cluster or traffic changes often. DeployOpen does not publish a price list. A quote follows from the written scope, so the client should ask that it state the number of peers and collections in scope, the Alertmanager arrangement, the dashboards and alerts to be delivered, the runbooks, and whether the work covers any integration with an existing monitoring platform. Each of those items changes the effort, and a quote that leaves them out cannot be compared with another one.

