This tutorial covers configuration of HCP Vault metrics streaming to and data visualization in your existing Datadog environment. For details on metrics scope and interpretation, see the HCP Vault Metrics Guidance.
HCP Vault metrics streaming is available for all production grade clusters. The feature is not available for Development tier clusters.
To configure metrics streaming to Datadog, you will need to have:
- Your Datadog region and API key
- An account with Admin or Contributor role assigned in HCP
- A production grade HCP Vault cluster
From the HCP Vault cluster Overview page, select the Metrics view.
If you have not configured metrics streaming before, click Enable streaming.
From the Stream Vault metrics view, select Datadog as the provider and click Next.
Under Datadog configuration, enter your API Key and select the Datadog site region that matches your existing Datadog environment.
At this time, HCP Vault only supports metrics streaming to one metrics endpoint at a time.
Once the metrics have been enabled, navigate to Datadog, and enable the integration by clicking Install on the integration tile. This will install a sample HCP Vault dashboard, that comes with preset visualization widgets to help make the most of your HCP Vault telemetry. You can find the dashboard by searching for HCP Vault Overview from the dashboard list.
To edit a metrics streaming integration, perform the following steps.
From the Metrics page, click on the Manage drop-down, then Edit configuration.
Edit the configuration, then click Save.
To disable a metrics streaming integration, from the Metrics page, click on the Manage drop-down, then Disable streaming.