PrometheusForwarderDataSource 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 Prometheus metrics forwarding configuration.
public class PrometheusForwarderDataSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.PrometheusForwarderDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.PrometheusForwarderDataSource>
type PrometheusForwarderDataSource = class
interface IJsonModel<PrometheusForwarderDataSource>
interface IPersistableModel<PrometheusForwarderDataSource>
Public Class PrometheusForwarderDataSource
Implements IJsonModel(Of PrometheusForwarderDataSource), IPersistableModel(Of PrometheusForwarderDataSource)
- Inheritance
-
PrometheusForwarderDataSource
- Implements
Constructors
PrometheusForwarderDataSource() |
Initializes a new instance of PrometheusForwarderDataSource. |
Properties
LabelIncludeFilter |
The list of label inclusion filters in the form of label "name-value" pairs. Currently only one label is supported: 'microsoft_metrics_include_label'. Label values are matched case-insensitively. |
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. |
Streams |
List of streams that this data source will be sent to. |
Explicit Interface Implementations
IJsonModel<PrometheusForwarderDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PrometheusForwarderDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PrometheusForwarderDataSource>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PrometheusForwarderDataSource>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PrometheusForwarderDataSource>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET