使用 Redis Enterprise 的 New Relic
要从数据库和其他集群组件中收集、查看和监控指标数据,您可以使用 Redis New Relic 集成将 New Relic 连接到 Redis Enterprise 集群。
New Relic 被各种规模和各行各业的组织用于 支持数字化转型和云迁移,推动开发、运营、安全和 业务团队,加快应用程序上市时间,缩短解决问题的时间,保护应用程序 基础架构,了解用户行为,并跟踪关键业务指标。
Redis Enterprise 的 New Relic 集成使用 Prometheus 远程写入功能来连接 Prometheus 数据 来源到 New Relic。此集成使 Redis Enterprise 用户能够将指标导出到 New Relic 进行分析, 并包括 Redis 设计的控制面板,用于监控 Redis Enterprise 集群。
这种集成使:
- 收集和显示 Admin Console 中不可用的量度
- 为节点或集群事件设置自动警报
- 将这些指标与来自其他系统的数据一起显示

为 Redis Enterprise 安装 Redis 的 New Relic 集成
适用于 Redis 的 New Relic 集成基于 Prometheus 数据源的功能。Prometheus 可以将指标转发到 另一个目标使用远程写入。Prometheus 安装必须配置为从 Redis 中提取指标 Enterprise 并将它们写入 New Relic。有两个部分,首先是从 Redis 拉取,第二个部分是写入 New Relic。
从 Redis Enterprise 获取指标:
- 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 Enterprise 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
View metrics
The Redis Enterprise Integration for New Relic contains pre-defined dashboards to aid in monitoring your Redis Enterprise deployment.
The following dashboards are currently available:
- Cluster: top-level statistics indicating the general health of the cluster
- Database: performance metrics at the database level
- Node
- Shard: low-level details of an individual shard
- Active-Active: replication and performance for geo-replicated clusters
- Proxy: network and command information regarding the proxy
- Proxy Threads: processor usage information regarding the proxy's component threads
Monitor metrics
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.
On this page