Globals / "src/main/prometheus/operator" / PrometheusOperator
Class: PrometheusOperator#
Hierarchy#
- PrometheusOperator
Implements#
Index#
Properties#
Methods#
Properties#
id#
• id: string = "operator"
Implementation of PrometheusProvider.id
Defined in src/main/prometheus/operator.ts:7
name#
• name: string = "Prometheus Operator"
Implementation of PrometheusProvider.name
Defined in src/main/prometheus/operator.ts:8
rateAccuracy#
• rateAccuracy: string = "1m"
Defined in src/main/prometheus/operator.ts:6
Methods#
getPrometheusService#
▸ getPrometheusService(client: CoreV1Api): Promise\<PrometheusService>
Implementation of PrometheusProvider
Defined in src/main/prometheus/operator.ts:10
Parameters:
| Name | Type |
|---|---|
client |
CoreV1Api |
Returns: Promise\<PrometheusService>
getQueries#
▸ getQueries(opts: PrometheusQueryOpts): PrometheusQuery
Implementation of PrometheusProvider
Defined in src/main/prometheus/operator.ts:33
Parameters:
| Name | Type |
|---|---|
opts |
PrometheusQueryOpts |
Returns: PrometheusQuery
Last update: November 10, 2020