CREATE METRICS INTEGRATION
Syntax
Description
Metrics Integrations allow organizations to configure an integration that enables scraping of query metrics. Tokens can be used with the specified access.region
and are valid for 90 days
Arguments
metrics_integration_name
Specifies the name of the new Metrics Integration. For case-sensitive names, the name must be wrapped in double quotes, otherwise, the lowercased name will be used.
WITH (metrics_integration_parameter = value [, … ])
This clause specifies Metrics Integration parameters; see Metrics Integration Parameters below for more information.
Metrics Integration Parameters
Parameter Name | Description |
---|---|
| Region the Metrics Integration will be valid for. Required: Yes Type: String Valid values: See LIST REGIONS |
Examples
Create a metrics integration
The following creates a new Metrics Integration with name my-integration
and is valid for AWS us-east-1
:
The command will output a URI and Token which can be added as an metric endpoint in Prometheus in Grafana. See Guide to add metrics Integration to Prometheus for more information. if you have an active query you can test the URI and token with the following curl command (NOTE use the URI from CREATE METRICS INTEGRATION output):
If there is a running query the output of the above curl should look like:
Guide to add metrics Integration to Prometheus
https://docs.deltastream.io/reference/metrics/integrations/prometheus-integration
Last updated