Class UpdatePrometheusEmitterDataSourceDetails
A Prometheus data source.
Inherited Members
Namespace: Oci.ManagementagentService.Models
Assembly: OCI.DotNetSDK.Managementagent.dll
Syntax
public class UpdatePrometheusEmitterDataSourceDetails : UpdateDataSourceDetails
Properties
AllowMetrics
Declaration
[JsonProperty(PropertyName = "allowMetrics")]
public string AllowMetrics { get; set; }
Property Value
Type | Description |
---|---|
string | Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required. |
ConnectionTimeout
Declaration
[JsonProperty(PropertyName = "connectionTimeout")]
public int? ConnectionTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint. |
MetricDimensions
Declaration
[JsonProperty(PropertyName = "metricDimensions")]
public List<MetricDimension> MetricDimensions { get; set; }
Property Value
Type | Description |
---|---|
List<MetricDimension> | The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint. |
ProxyUrl
Declaration
[JsonProperty(PropertyName = "proxyUrl")]
public string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property). |
ReadDataLimitInKilobytes
Declaration
[JsonProperty(PropertyName = "readDataLimitInKilobytes")]
public int? ReadDataLimitInKilobytes { get; set; }
Property Value
Type | Description |
---|---|
int? | Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB). |
ReadTimeout
Declaration
[JsonProperty(PropertyName = "readTimeout")]
public int? ReadTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint. |
ResourceGroup
Declaration
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }
Property Value
Type | Description |
---|---|
string | OCI monitoring resource group to assign the metric to. |
ScheduleMins
Declaration
[JsonProperty(PropertyName = "scheduleMins")]
public int? ScheduleMins { get; set; }
Property Value
Type | Description |
---|---|
int? | Number in minutes. The scraping occurs at the specified interval. |
Url
Declaration
[Required(ErrorMessage = "Url is required.")]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string | The url through which the Prometheus Exporter publishes its metrics. (http only) |
Remarks
Required