public static class UpdatePrometheusEmitterDataSourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdatePrometheusEmitterDataSourceDetails.Builder url(String url)
The url through which the Prometheus Exporter publishes its metrics. (http only)
url
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder allowMetrics(String allowMetrics)
Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
allowMetrics
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder proxyUrl(String proxyUrl)
The url of the network proxy that provides access to the Prometheus Exporter’s endpoint (url required property).
proxyUrl
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder connectionTimeout(Integer connectionTimeout)
Number in milliseconds. The timeout for connecting to the Prometheus Exporter’s endpoint.
connectionTimeout
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder readTimeout(Integer readTimeout)
Number in milliseconds. The timeout for reading the response from the Prometheus Exporter’s endpoint.
readTimeout
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder readDataLimitInKilobytes(Integer readDataLimitInKilobytes)
Number in kilobytes. The limit on the data being sent, not to exceed the agent’s fixed limit of 400 (KB).
readDataLimitInKilobytes
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder scheduleMins(Integer scheduleMins)
Number in minutes. The scraping occurs at the specified interval.
scheduleMins
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder resourceGroup(String resourceGroup)
OCI monitoring resource group to assign the metric to.
resourceGroup
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails.Builder metricDimensions(List<MetricDimension> metricDimensions)
The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
metricDimensions
- the value to setpublic UpdatePrometheusEmitterDataSourceDetails build()
public UpdatePrometheusEmitterDataSourceDetails.Builder copy(UpdatePrometheusEmitterDataSourceDetails model)
Copyright © 2016–2024. All rights reserved.