New Relic

New Relic is an observability platform that collects metrics, traces, and logs from servers, databases, and applications. It provides dashboards, alerting, and NRQL queries to analyze the performance of your infrastructure.

Qdrant exposes metrics in the Prometheus/OpenMetrics format at its /metrics endpoint, as described in the monitoring guide. New Relic can collect these metrics in two ways, and it also ingests OpenTelemetry data natively.

Usage

Prometheus remote write

If a Prometheus server already scrapes your Qdrant instance, forward its data to New Relic by adding a remote write block to your prometheus.yml:

remote_write:
  - url: https://metric-api.newrelic.com/prometheus/v1/write?prometheus_server=qdrant
    authorization:
      credentials: <NEW_RELIC_LICENSE_KEY>

Use https://metric-api.eu.newrelic.com/prometheus/v1/write if your account is in the EU data center. The authorization block requires Prometheus v2.26 or later. The prometheus_server parameter becomes an attribute on your data, so you can filter Qdrant metrics in dashboards and queries.

Prometheus OpenMetrics integration

Without a Prometheus server, use the standalone Prometheus OpenMetrics integration to scrape the Qdrant /metrics endpoint directly. Create a config.yaml pointing at your instance:

cluster_name: qdrant
targets:
  - description: Qdrant metrics
    urls: ["http://localhost:6333/metrics"]

Then run the integration as a container with your license key:

docker run -d --restart unless-stopped \
  --name nri-prometheus \
  -e LICENSE_KEY="<NEW_RELIC_LICENSE_KEY>" \
  -v "$(pwd)/config.yaml:/config.yaml" \
  newrelic/nri-prometheus:2.18.0

After a few minutes, the Qdrant metrics appear in New Relic and can be queried with NRQL.

OpenTelemetry

New Relic ingests OTLP natively. If you instrument your application with an OpenTelemetry-based tool such as OpenLIT or OpenLLMetry, point the exporter at the New Relic OTLP endpoint:

export OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp.nr-data.net"
export OTEL_EXPORTER_OTLP_HEADERS="api-key=<NEW_RELIC_LICENSE_KEY>"

Use https://otlp.eu01.nr-data.net for EU accounts.

Further Reading

Was this page useful?

Thank you for your feedback! 🙏

We are sorry to hear that. 😔 You can edit this page on GitHub, or create a GitHub issue.