HashiCorp Cloud Platform
Configure HCP Vault Dedicated metric streaming to New Relic
For details on metrics scope and interpretation, see the HCP Vault Dedicated metrics documentation.
Prerequisites
To configure metrics streaming to New Relic, you will need to have:
A HCP account with the Admin role assigned
An essentials or standard tier HCP Vault Dedicated cluster
Access to New Relic with permission to retrieve the Ingest License Key
Enable metrics streaming
From the HCP Vault Dedicated cluster Overview page, select the Metrics view.
Click Enable streaming.
From the Stream Vault metrics view, select New Relic as the provider and click Next.
From the Add provider details view, enter the Account ID and License key retrieved from the New Relic portal.
Click Save.
Example Terraform configuration (optional)
Refer to the Terraform Registry hcp_vault_cluster documentation
for more information.
resource "hcp_vault_cluster" "example" {
cluster_id = "vault-cluster"
hvn_id = hcp_hvn.example.hvn_id
tier = "standard_large"
metrics_config {
newrelic_account_id = "newrelic_account_id"
newrelic_license_key = "newrelic_license_key"
newrelic_region = "newrelic_region"
}
}
Edit the metrics streaming configuration (optional)
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.
Disable metrics streaming (optional)
To disable a metrics streaming integration, from the Metrics page, click on the Manage drop-down, then Disable streaming.