Our Prometheus OpenMetrics integration for Kubernetes scrapes Prometheus endpoints and sends the data to New Relic, so you can store and visualize crucial metrics on one platform.
With this integration, you can:
- Automatically identify a list of endpoints.
- Collect metrics that are important to your business.
- Query and visualize this data in the New Relic UI.
Why it matters
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.
Reduce overhead, scale your data
In a Kubernetes environment, New Relic automatically discovers the endpoints in the same way that the Prometheus Kubernetes collector does it. The integration looks for the
prometheus.io/scrape annotation or label. You can also identify additional static endpoints in the configuration.
The Prometheus OpenMetrics integration gathers 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.
Whether you're getting started with Prometheus or have been monitoring your environment along with a separate monitoring tool, New Relic can help. 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 integration blog post.
New Relic has contributed the Prometheus integration to the open source community under an Apache 2.0 license. This integration supports Prometheus protocol version 2 and Kubernetes versions 1.9 or higher. The integration was tested using Kubernetes 1.9, 1.11, and 1.13 on kops, GKE, and minikube.
Limits apply to the metrics you send. For more details, see the New Relic metrics API documentation.
Recommendation: Always run the scraper with one replica. Adding more replicas will result in duplicated data.
Ready to get started? Here are some suggested next steps:
- Install the integration.
- Review the example configuration file and available options, including target configuration.
- Customize your Prometheus integration's configuration with New Relic as needed.
- Prevent unnecessary billing charges by filtering metrics sent to New Relic.
- To provide an additional level of security, use mutual TLS authentication.
- View and query your data in New Relic. Convert some common PromQL queries to NRQL queries.
- Visualize your data as charts, histograms and summaries, etc.
If you have problems with your integration, follow the troubleshooting procedures.