OtelTracesDirectDataSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables Otel Traces to be collected by this data collection rule.
public class OtelTracesDirectDataSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.OtelTracesDirectDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.OtelTracesDirectDataSource>
type OtelTracesDirectDataSource = class
interface IJsonModel<OtelTracesDirectDataSource>
interface IPersistableModel<OtelTracesDirectDataSource>
Public Class OtelTracesDirectDataSource
Implements IJsonModel(Of OtelTracesDirectDataSource), IPersistableModel(Of OtelTracesDirectDataSource)
- Inheritance
-
OtelTracesDirectDataSource
- Implements
Constructors
| Name | Description |
|---|---|
| OtelTracesDirectDataSource(IEnumerable<KnownOtelTracesDirectDataSourceStreams>) |
Initializes a new instance of OtelTracesDirectDataSource. |
Properties
| Name | Description |
|---|---|
| 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. |
| ShouldReplaceResourceIdWithReference |
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. |