Skip to content
3 changes: 3 additions & 0 deletions content/embeds/rc-get-prometheus-endpoint.md
Original file line number Diff line number Diff line change
@@ -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.

{{<image filename="images/rc/database-metrics-connect-prometheus.png" width="250px" alt="Use the Connect to Prometheus button to get the Prometheus endpoint.">}}
2 changes: 2 additions & 0 deletions content/integrate/dynatrace-with-redis-cloud/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions content/integrate/new-relic-with-redis-cloud/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 2 additions & 12 deletions content/integrate/prometheus-with-redis-cloud/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<cluster_address>:12345
```

The Prometheus endpoint is:

```sh
internal.<cluster_address>: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.
Expand Down
8 changes: 8 additions & 0 deletions content/operate/rc/databases/monitor-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/rc/database-metrics-tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.