@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
78 lines (77 loc) • 2.44 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 { DORAGitInfo } from "./DORAGitInfo";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Attributes to create a DORA failure event.
*/
export declare class DORAFailureRequestAttributes {
/**
* A list of user-defined tags. The tags must follow the `key:value` pattern. Up to 100 may be added per event.
*/
"customTags"?: Array<string>;
/**
* Environment name that was impacted by the failure.
*/
"env"?: string;
/**
* Unix timestamp when the failure finished. It must be in nanoseconds, milliseconds, or seconds.
*/
"finishedAt"?: number;
/**
* Git info for DORA Metrics events.
*/
"git"?: DORAGitInfo;
/**
* Failure ID. Must have at least 16 characters. Required to update a previously sent failure.
*/
"id"?: string;
/**
* Failure name.
*/
"name"?: string;
/**
* Service names impacted by the failure. If possible, use names registered in the Service Catalog. Required when the team field is not provided.
*/
"services"?: Array<string>;
/**
* Failure severity.
*/
"severity"?: string;
/**
* Unix timestamp when the failure started. It must be in nanoseconds, milliseconds, or seconds.
*/
"startedAt": number;
/**
* Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.
*/
"team"?: string;
/**
* Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
*/
"version"?: string;
/**
* 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();
}