Class PrometheusOptions
Prometheus metric export options. BindAddress is required.
Namespace: Temporalio.Runtime
Assembly: Temporalio.dll
Syntax
public class PrometheusOptions : ICloneable
Constructors
PrometheusOptions()
Initializes a new instance of the PrometheusOptions class.
Declaration
public PrometheusOptions()
PrometheusOptions(String)
Initializes a new instance of the PrometheusOptions class.
Declaration
public PrometheusOptions(string bindAddress)
Parameters
Type | Name | Description |
---|---|---|
String | bindAddress |
Properties
BindAddress
Gets or sets the address to expose Prometheus metrics on.
Declaration
public string? BindAddress { get; set; }
Property Value
Type | Description |
---|---|
Nullable<String> |
Methods
Clone()
Create a shallow copy of these options.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
Object | A shallow copy of these options. |