@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
56 lines (55 loc) • 1.78 kB
TypeScript
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { ObservabilityPipelineGeneratedMetricMetricType } from "./ObservabilityPipelineGeneratedMetricMetricType";
import { ObservabilityPipelineMetricValue } from "./ObservabilityPipelineMetricValue";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Defines a log-based custom metric, including its name, type, filter, value computation strategy,
* and optional grouping fields.
*/
export declare class ObservabilityPipelineGeneratedMetric {
/**
* Optional fields used to group the metric series.
*/
"groupBy"?: Array<string>;
/**
* Datadog filter query to match logs for metric generation.
*/
"include": string;
/**
* Type of metric to create.
*/
"metricType": ObservabilityPipelineGeneratedMetricMetricType;
/**
* Name of the custom metric to be created.
*/
"name": string;
/**
* Specifies how the value of the generated metric is computed.
*/
"value": ObservabilityPipelineMetricValue;
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: {
[key: string]: any;
};
/**
* @ignore
*/
"_unparsed"?: boolean;
/**
* @ignore
*/
static readonly attributeTypeMap: AttributeTypeMap;
/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap;
constructor();
}