|
| 1 | +--- |
| 2 | +LinkTitle: Datadog with Redis Cloud |
| 3 | +Title: Datadog with Redis Cloud |
| 4 | +alwaysopen: false |
| 5 | +categories: |
| 6 | +- docs |
| 7 | +- integrate |
| 8 | +- rs |
| 9 | +description: To collect, view, and monitor metrics data from your databases and other |
| 10 | + cluster components, you can connect Datadog to your Redis Cloud cluster using the |
| 11 | + Redis Datadog Integration. |
| 12 | +group: observability |
| 13 | +summary: To collect, view, and monitor metrics data from your databases and other |
| 14 | + cluster components, you can connect Datadog to your Redis Cloud cluster using the |
| 15 | + Redis Datadog Integration. |
| 16 | +type: integration |
| 17 | +weight: 7 |
| 18 | +--- |
| 19 | + |
| 20 | + |
| 21 | +[Datadog](https://www.datadoghq.com/) is used by organizations of all sizes and across a wide range of industries to |
| 22 | +enable digital transformation and cloud migration, drive collaboration among development, operations, security and |
| 23 | +business teams, accelerate time to market for applications, reduce time to problem resolution, secure applications and |
| 24 | +infrastructure, understand user behavior, and track key business metrics. |
| 25 | + |
| 26 | +The Datadog Integration for Redis Cloud uses the Datadog Integration API to connect to Redis metrics exporters. |
| 27 | +The integration is based on Datadog's |
| 28 | +[OpenMetrics integration](https://datadoghq.dev/integrations-core/base/openmetrics/) in their core API. This integration |
| 29 | +enables Redis Cloud users to export metrics directly to Datadog for analysis, and includes Redis-designed |
| 30 | +dashboards for use in monitoring Redis Cloud clusters. |
| 31 | + |
| 32 | +This integration makes it possible to: |
| 33 | +- Collect and display metrics not available in the admin console |
| 34 | +- Set up automatic alerts for node or cluster events |
| 35 | +- Display these metrics alongside data from other systems |
| 36 | + |
| 37 | +{{< image filename="/images/rc/redis-cloud-datadog.png" alt="screenshot of datadog dashboard">}} |
| 38 | +## Install Redis' Datadog Integration for Redis Cloud |
| 39 | + |
| 40 | +Installing the Datadog integration is a two-step process. Firstly, the installation must be part of your configuration. |
| 41 | +Select 'Integrations' from the menu in the Datadog portal and then enter 'Redis' in the search bar, then select |
| 42 | +'Redis Cloud by Redis, Inc.'. Next click 'Install Integration' in the top-right corner of the overview page. |
| 43 | + |
| 44 | +If you have not already created a VPC between the Redis Cloud cluster and the network in which the machine hosting the |
| 45 | +Datadog agent lives you should do so now. Please visit [VPC Peering](https://redis.io/docs/latest/operate/rc/security/vpc-peering/) |
| 46 | +and follow the instructions for the cloud platform of your choice. |
| 47 | + |
| 48 | +Returning to the Datadog console, open the 'Configure' tab of the integration and follow the instructions for installing |
| 49 | +the integration on the local machine. After it has been installed follow the instruction for adding an instance to the |
| 50 | +conf.yaml in /etc/datadog-agent/conf.d/redis_cloud.d. |
| 51 | + |
| 52 | +After you have edited the conf.yaml file please restart the service and check its status: |
| 53 | + |
| 54 | +```shell |
| 55 | +sudo service datadog-agent restart |
| 56 | +``` |
| 57 | + |
| 58 | +followed by: |
| 59 | + |
| 60 | +```shell |
| 61 | +sudo service datadog-agent status |
| 62 | +``` |
| 63 | + |
| 64 | +to be certain that the service itself is running and did not encounter any problems. Next, check the output of the |
| 65 | +service; in the terminal on the Datadog agent host run the following command: |
| 66 | + |
| 67 | +```shell |
| 68 | +tail -f /var/log/datadog/agent.log |
| 69 | +``` |
| 70 | + |
| 71 | +It will take several minutes for data to reach Datadog. Finally, check the Datadog console by selecting |
| 72 | +Infrastructure -> Host Map from the menu and then finding the host that is monitoring the Redis Cloud instance. The host |
| 73 | +should be present, and in its list of components there should be a section called 'rdsc', which is the namespace used by |
| 74 | +the Redis Cloud integration, although this can take several minutes to appear. It is also possible to verify the metrics |
| 75 | +by choosing Metrics -> Explorer from the menu and entering 'rdsc.bdb_up'. |
| 76 | + |
| 77 | +## View metrics |
| 78 | + |
| 79 | +The Redis Cloud Integration for Datadog contains pre-defined dashboards to aid in monitoring your Redis Cloud deployment. |
| 80 | + |
| 81 | +The following dashboards are currently available: |
| 82 | + |
| 83 | +- Overview |
| 84 | +- Database |
| 85 | +- Network |
| 86 | + |
| 87 | +A number of additional dashboards will be included in the next release (v1.1.0). |
| 88 | + |
| 89 | +## Monitor metrics |
| 90 | + |
| 91 | +See [Observability and monitoring guidance]({{< relref "/integrate/prometheus-with-redis-enterprise/observability/" >}}) for monitoring details. |
0 commit comments