Class PrometheusExporterOptions
- Namespace
- DotCompute.Core.Telemetry
- Assembly
- DotCompute.Core.dll
Configuration options for Prometheus exporter.
public sealed class PrometheusExporterOptions
- Inheritance
-
PrometheusExporterOptions
- Inherited Members
Properties
CollectionIntervalSeconds
Gets or sets the collection interval seconds.
public int CollectionIntervalSeconds { get; set; }
Property Value
- int
The collection interval seconds.
CommonLabels
Gets or sets the common labels.
public IList<string> CommonLabels { get; }
Property Value
Endpoint
Gets or sets the endpoint.
public string Endpoint { get; set; }
Property Value
- string
The endpoint.
Hostname
Gets or sets the hostname.
public string Hostname { get; set; }
Property Value
- string
The hostname.
Port
Gets or sets the port.
public int Port { get; set; }
Property Value
- int
The port.
StartMetricServer
Gets or sets the start metric server.
public bool StartMetricServer { get; set; }
Property Value
- bool
The start metric server.