content/integrate/new-relic-with-redis-enterprise/_index.md
New Relic is used by organizations of all sizes and across a wide range of industries to enable digital transformation and cloud migration, drive collaboration among development, operations, security and business teams, accelerate time to market for applications, reduce time to problem resolution, secure applications and infrastructure, understand user behavior, and track key business metrics.
The New Relic Integration for Redis Software uses Prometheus remote write functionality to connect Prometheus data sources to New Relic. This integration enables Redis Software users to export metrics to New Relic for analysis, and includes Redis-designed dashboards for use in monitoring Redis Software clusters.
This integration makes it possible to:
{{< image filename="/images/rs/redis-enterprise-newrelic.png" >}}
The New Relic Integration for Redis is based on a feature of the Prometheus data source. Prometheus can forward metrics on to another destination using remote writes. The Prometheus installation must be configured to pull metrics from Redis Enterprise and write them to New Relic. There are two sections, first the pull from Redis and second the write to New Relic.
Get metrics from Redis Software:
- job_name: "redis-enterprise"
scrape_interval: 30s
scrape_timeout: 30s
metrics_path: /
scheme: https
tls_config:
insecure_skip_verify: true
static_configs:
# The default Redis Software Prometheus port is 8070.
# Replace REDIS_ENTERPRISE_HOST with your cluster's hostname.
- targets: ["REDIS_ENTERPRISE_HOST:8070"]
Write them to New Relic:
# Remote write configuration for New Relic.
# - Replace REDIS_ENTERPRISE_SERVICE NAME with any name you'd like to use to refer to this data source.
# - Replace NEW_RELIC_BEARER_TOKEN with the token you generated on the New Relic Administration -> API Keys page.
remote_write:
- url: https://metric-api.newrelic.com/prometheus/v1/write?prometheus_server=REDIS_ENTERPRISE_SERVICE_NAME
authorization:
credentials: NEW_RELIC_BEARER_TOKEN
The Redis Software Integration for New Relic contains pre-defined dashboards to aid in monitoring your Redis Software deployment.
The following dashboards are currently available:
New Relic dashboards can be filtered using the text area. For example, when viewing a cluster dashboard it is possible to filter the display to show data for only one cluster by typing 'cluster' in the text area and waiting for the system to retrieve the relevant data before choosing one of the options in the 'cluster' section.
Certain types of data do not know the name of the database from which they were drawn. The dashboard should have a list of database names and ids; use the id value when filtering input to the dashboard.