OtelMetricsDataSource 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.
Definition of OTel metrics configuration.
public class OtelMetricsDataSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.OtelMetricsDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.OtelMetricsDataSource>
type OtelMetricsDataSource = class
interface IJsonModel<OtelMetricsDataSource>
interface IPersistableModel<OtelMetricsDataSource>
Public Class OtelMetricsDataSource
Implements IJsonModel(Of OtelMetricsDataSource), IPersistableModel(Of OtelMetricsDataSource)
- Inheritance
-
OtelMetricsDataSource
- Implements
Constructors
| Name | Description |
|---|---|
| OtelMetricsDataSource(IEnumerable<String>) |
Initializes a new instance of OtelMetricsDataSource. |
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. |
| ResourceAttributeRouting |
Specifies the routing policy based on OTLP payload resource attributes to route subset of the payload according to matching resource attribute. |
| Streams |
List of streams that this data source will be sent to. |