OtelTracesDirectDataSource interface

Enables Otel Traces to be collected by this data collection rule.

Properties

enrichWithReference

Specifies the reference to enrich the telemetry signal with.

enrichWithResourceAttributes

Specifies the list of resource attributes that need to be added as labels/dimensions to the telemetry data for further enrichment.

name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

replaceResourceIdWithReference

Specifies whether to replace the default resourceId in the log record with the resourceId of the referenced resource being used for enrichment.

streams

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

Property Details

enrichWithReference

Specifies the reference to enrich the telemetry signal with.

enrichWithReference?: string

Property Value

string

enrichWithResourceAttributes

Specifies the list of resource attributes that need to be added as labels/dimensions to the telemetry data for further enrichment.

enrichWithResourceAttributes?: string[]

Property Value

string[]

name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

name?: string

Property Value

string

replaceResourceIdWithReference

Specifies whether to replace the default resourceId in the log record with the resourceId of the referenced resource being used for enrichment.

replaceResourceIdWithReference?: boolean

Property Value

boolean

streams

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

streams: string[]

Property Value

string[]