CREATE METRICS INTEGRATION

Syntax

CREATE METRICS INTEGRATION 
    metrics_integration_name 
WITH (metrics_integration_parameter = value [, ... ]);

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 NameDescription

access_region

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:

demodb.public/demostore# CREATE METRICS INTEGRATION "my-integration"
WITH ( 
    'access_region' = "AWS us-east-1" 
);
URI: https://api-aldf0.stage.deltastream.io/metrics
Token: [my access token]

The command will output a URI and Token which will be used to your grafana. <link to configure grafana with uri/token>

Last updated