@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
55 lines (54 loc) • 1.68 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 { LogsSpanRemapperType } from "./LogsSpanRemapperType";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* There are two ways to define correlation between application spans and logs:
*
* 1. Follow the documentation on [how to inject a span ID in the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces).
* Log integrations automatically handle all remaining setup steps by default.
*
* 2. Use the span remapper processor to define a log attribute as its associated span ID.
*/
export declare class LogsSpanRemapper {
/**
* Whether or not the processor is enabled.
*/
"isEnabled"?: boolean;
/**
* Name of the processor.
*/
"name"?: string;
/**
* Array of source attributes.
*/
"sources"?: Array<string>;
/**
* Type of logs span remapper.
*/
"type": LogsSpanRemapperType;
/**
* 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();
}