• Log inStart now

Send Prometheus metric data to New Relic

This page provides an overview of New Relic's Prometheus integration options and how they work. The information here will help you choose from among our options based on which one best fits your unique business needs.

Prometheus OpenMetrics, Prometheus agent or remote write integration?

We currently offer three alternatives to send Prometheus metrics to New Relic.

If you already have a Prometheus server, we recommend getting started with the remote write integration. Otherwise, depending on your needs to may choose between the Prometheus Agent for Kubernetesand Prometheus OpenMetrics integration for Docker.

Examine the benefits, reminders, and recommendations for each option below.

Regardless of the option you chose, with our Prometheus integrations:

  • You can use Grafana or other query tools via New Relic's Prometheus' API.
  • You benefit from more nuanced security and user management options.
  • New Relic's database can be the centralized long-term data store for all your Prometheus metrics, allowing you to observe all your data in one place.
  • You can execute queries to scale, supported by New Relic.

Prometheus Agent for Kubernetes

New Relic's Prometheus Agent allows you to easily scrape Prometheus metrics from a Kubernetes cluster. By leveraging on the service discovery and the Kubernetes labels you will get instant access to metrics, dashboards and alerts of the most popular workloads.

Prometheus Agent can be installed in two modes:

  • Alongside the Kubernetes integration: Prometheus Agent will be installed automatically together with the Kubernetes integration.
  • Standalone: If you don't need to monitor your Kubernetes cluster but the workloads running on it, you can easily deploy the Prometheus agent just by running a single Helm command. Due the lack of the Kubernetes integration, Prometheus metrics won't be decorated with Kubernetes tags like cluster, pod or container name.

By default Prometheus Agent will only scrape metrics from a set of Prometheus integrations, but it can easily be configured to monitor the entire cluster or specific endpoints.

With this integration, you can:

  • Automatically get insights from the most popular workloads. Take advantage of predefined set of dashboards and alerts.
  • Leverage on service discovery to automatically monitor new services once deployed.
  • Query and visualize this data in the New Relic UI.
  • Monitor big clusters by using horizontal or vertical sharding.
  • Monitor the health of your Prometheus shards and the cardinality of the metrics ingested.
  • Full control of the data ingest by supporting different scraping intervals, metric filters and label management.

Prometheus OpenMetrics integration for Docker

New Relic's Prometheus OpenMetrics integrations for Docker allow you to scrape Prometheus endpoints and send the data to New Relic, so you can store and visualize crucial metrics on one platform.

With this integration, you can:

  • Automatically identify a static list of endpoints.
  • Collect metrics that are important to your business.
  • Query and visualize this data in the New Relic UI.
  • Connect your Grafana dashboards (optional).

Kubernetes OpenMetrics dashboard

Reduce overhead and scale your data

Collect, analyze, and visualize your metrics data from any source, alongside your telemetry data, so you can correlate issues all in one place. Out-of-the-box integrations for open-source tools like Prometheus make it easy to get started, and eliminate the cost and complexity of hosting, operating, and managing additional monitoring systems.

Prometheus OpenMetrics integrations gather all your data in one place, and New Relic stores the metrics from Prometheus. This integration helps remove the overhead of managing storage and availability of the Prometheus server.

To learn more about how to scale your data without the hassles of managing Prometheus and a separate dashboard tool, see New Relic's Prometheus OpenMetrics integration blog post.

Prometheus remote write integration

Unlike the Prometheus Agent and Docker OpenMetrics integrations, which scrape data from Prometheus endpoints, the remote write integration allows you to forward telemetry data from your existing Prometheus servers to New Relic. You can leverage the full range of options for setup and management, from raw data to queries, dashboards, and beyond.

Scale your data and get moving quickly

With the Prometheus remote write integration, you can:

  • Store and visualize crucial metrics on a single platform
  • Combine and group data across your entire software stack
  • Get a fully connected view of the relationship between data about your software stack and the behaviors and outcomes you're monitoring
  • Connect your Grafana dashboards (optional).

Prometheus remote write dashboard

How it works

Signing up for New Relic is fast and free — we won't even ask for a credit card number. Once logged in, you can get data flowing with a few simple steps.

Read the setup docs
Add Prometheus data

What's next

Ready to get moving? Here are some suggested next steps:

Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.