Our RedPanda integration captures cluster-level metrics, data about scheduling groups, and details about your service errors and uptime, then displays that data in a pre-built .
After setting up Redpanda with New Relic, your data will display in a dashboard, right out of the box.
Install the infrastructure agent
Before getting Redpanda data into New Relic, you need to install our infrastructure agent, then configure
nri-prometheus to scrape data.
- Follow our guided install to instrument your system with the infrastructure agent. You can install the infrastructure agent via the command line using our docs.
nri-prometheus for RedPanda
Create a file named
Add a snippet to your
nri-prometheus-config.ymlfile that enables the agent to capture RedPanda data. Your configuration file should match our snippet in the nri-prometheus repository:integrations:- name: nri-prometheusconfig:# When standalone is set to false, nri-prometheus requires an infrastructure agent to work and send data. Defaults to truestandalone: false# If using the infrastructure agent, emitters have to include infra-sdkemitters: infra-sdk
The name of your cluster. The name of your cluster must be consistent across New Relic products so the infrastructure agent and nri-prometheus can scrape data from the cluster.
description: Redpanda metrics are captured in the below urls urls: ["http://localhost:9644/metrics", "http://localhost:9644/public_metrics"]
Specifies whether or not the integration should run in verbose mode. Defaults to false.
Specifies whether or not the integration should run in audit mode. Defaults to false.
Audit mode logs the uncompressed data sent to New Relic. Use this to log all data sent.
It does not include verbose mode. This can lead to a high log volume, use with care.
The HTTP client timeout when fetching data from endpoints. Defaults to "5s" if it's not set.
Length in time to distribute the scraping from the endpoints. Default to "30s" if it's not set.
Number of worker threads used for scraping targets.
For large clusters with many (>400) endpoints, slowly increase until scrape
time falls between the desired
Increasing this value too much will result in huge memory consumption if too
many metrics are being scraped.
#Specifies whether or not the integration should skip TLS verification. Defaults to false. insecure_skip_verify: false
Get RedPanda metrics as a dashboard
To confirm that your data is reporting:
- Go to one.newrelic.com, then click Metrics & events.
- Run the following NRQL query:
FROM Metric SELECT latest(vectorized_application_uptime).
- Once you've confirmed that New Relic ingested your Redpanda metrics, go to Dashboards from one.newrelic.com to see your RedPanda dashboard.
If you want to customize your RedPanda dashboards, you can learn more about building NRQL queries and managing your dashboards in the New Relic UI: