Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdatePrometheusEmitterDataSourceDetails

A Prometheus data source.

Properties

Optional allowMetrics

allowMetrics: undefined | 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.

Optional connectionTimeout

connectionTimeout: undefined | number

Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional metricDimensions

metricDimensions: Array<MetricDimension>

The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.

Optional proxyUrl

proxyUrl: undefined | string

The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).

Optional readDataLimitInKilobytes

readDataLimitInKilobytes: undefined | number

Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional readTimeout

readTimeout: undefined | number

Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional resourceGroup

resourceGroup: undefined | string

OCI monitoring resource group to assign the metric to.

Optional scheduleMins

scheduleMins: undefined | number

Number in minutes. The scraping occurs at the specified interval. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Const type

type: string = "PROMETHEUS_EMITTER"

url

url: string

The url through which the Prometheus Exporter publishes its metrics. (http only)

Methods

getDeserializedJsonObj

getJsonObj