diff --git a/content/embeds/rc-get-prometheus-endpoint.md b/content/embeds/rc-get-prometheus-endpoint.md new file mode 100644 index 0000000000..a32b1f8f4c --- /dev/null +++ b/content/embeds/rc-get-prometheus-endpoint.md @@ -0,0 +1,3 @@ +In the **Metrics** tab of your database, select **Connect to Prometheus > Copy Prometheus endpoint** to save your prometheus endpoint to the clipboard. + +{{Use the Connect to Prometheus button to get the Prometheus endpoint.}} diff --git a/content/integrate/dynatrace-with-redis-cloud/_index.md b/content/integrate/dynatrace-with-redis-cloud/_index.md index da87ff12f1..771988bacc 100644 --- a/content/integrate/dynatrace-with-redis-cloud/_index.md +++ b/content/integrate/dynatrace-with-redis-cloud/_index.md @@ -42,7 +42,9 @@ If you have not already created a VPC between the Redis Cloud cluster and the ne Prometheus lives you should do so now. Please visit [VPC Peering](https://redis.io/docs/latest/operate/rc/security/vpc-peering/) and follow the instructions for the cloud platform of your choice. +You'll also need the [Prometheus endpoint for your database]({{< relref "/operate/rc/databases/monitor-performance#connect-to-prometheus" >}}) from the [Redis Cloud console](https://cloud.redis.io/). +{{< embed-md "content/embeds/rc-get-prometheus-endpoint.md" >}} ## View metrics diff --git a/content/integrate/new-relic-with-redis-cloud/_index.md b/content/integrate/new-relic-with-redis-cloud/_index.md index 682266dffe..f759789155 100644 --- a/content/integrate/new-relic-with-redis-cloud/_index.md +++ b/content/integrate/new-relic-with-redis-cloud/_index.md @@ -62,6 +62,10 @@ Get metrics from Redis Cloud: - targets: ["REDIS_CLOUD_HOST:8070"] ``` +Replace `REDIS_CLOUD_HOST` with the [Prometheus endpoint for your database]({{< relref "/operate/rc/databases/monitor-performance#connect-to-prometheus" >}}), which you can get from the [Redis Cloud console](https://cloud.redis.io/). + +{{< embed-md "content/embeds/rc-get-prometheus-endpoint.md" >}} + Write them to New Relic: ```yaml diff --git a/content/integrate/prometheus-with-redis-cloud/_index.md b/content/integrate/prometheus-with-redis-cloud/_index.md index 9946ef1ab6..b206594a83 100644 --- a/content/integrate/prometheus-with-redis-cloud/_index.md +++ b/content/integrate/prometheus-with-redis-cloud/_index.md @@ -43,19 +43,9 @@ You can quickly set up Prometheus and Grafana for testing using the Prometheus a 1. Set up [VPC peering]({{< relref "/operate/rc/security/vpc-peering" >}}). -1. Extract the Prometheus endpoint from the private endpoint to your database. The private endpoint is in the [Redis Cloud console](https://cloud.redis.io/) under the [Configuration tab]({{< relref "/operate/rc/databases/view-edit-database#configuration-tab" >}}) of your database. The Prometheus endpoint is on port 8070 of the internal server. +1. Get the prometheus endpoint for your database from the [Redis Cloud console]({{< relref "/operate/rc/databases/monitor-performance#connect-to-prometheus" >}}). - For example, if your private endpoint is: - - ```sh - redis-12345.internal.:12345 - ``` - - The Prometheus endpoint is: - - ```sh - internal.:8070 - ``` + {{< embed-md "content/embeds/rc-get-prometheus-endpoint.md" >}} 1. Create an instance to run Prometheus and Grafana on the same cloud provider as your Redis Cloud subscription (for example, Amazon Web Services or Google Cloud). This instance must: - Exist in the same region as your Redis Cloud subscription. diff --git a/content/operate/rc/databases/monitor-performance.md b/content/operate/rc/databases/monitor-performance.md index 6936dc4bb0..e5c01dbdcb 100644 --- a/content/operate/rc/databases/monitor-performance.md +++ b/content/operate/rc/databases/monitor-performance.md @@ -90,6 +90,14 @@ To update alert settings for one or more team members, select **Access Managemen If you subscribe to Redis Cloud through a Platform-as-a-Service (PaaS) provider (such as Heroku), you will need to review your provider's documentation for help managing your team. +## Connect to Prometheus + +Redis Cloud exposes a Prometheus endpoint for Redis Cloud Pro databases. You can use this endpoint to connect Prometheus to your database. + +{{< embed-md "rc-get-prometheus-endpoint.md" >}} + +For more information on how to connect Prometheus to Redis Cloud, see [Prometheus and Grafana with Redis Cloud]({{< relref "/integrate/prometheus-with-redis-cloud/" >}}). + ## Continue learning with Redis University {{< university-links >}} diff --git a/static/images/rc/database-metrics-connect-prometheus.png b/static/images/rc/database-metrics-connect-prometheus.png new file mode 100644 index 0000000000..028eb52679 Binary files /dev/null and b/static/images/rc/database-metrics-connect-prometheus.png differ diff --git a/static/images/rc/database-metrics-tab.png b/static/images/rc/database-metrics-tab.png index 62a8211f50..2c2b0359b4 100644 Binary files a/static/images/rc/database-metrics-tab.png and b/static/images/rc/database-metrics-tab.png differ