2021-11-23 15:36:27 -05:00
|
|
|
- variable: metrics
|
2022-08-08 17:25:02 -04:00
|
|
|
group: Metrics
|
|
|
|
label: Prometheus Metrics
|
2021-11-23 15:36:27 -05:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-11-23 15:36:27 -05:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Enabled
|
|
|
|
description: Enable Prometheus Metrics
|
2021-11-23 15:36:27 -05:00
|
|
|
schema:
|
|
|
|
type: boolean
|
2021-11-25 08:34:46 -05:00
|
|
|
default: false
|
2021-11-23 15:36:27 -05:00
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: serviceMonitor
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Service Monitor Settings
|
2021-11-23 15:36:27 -05:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-11-23 15:36:27 -05:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: interval
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Scrape Interval
|
|
|
|
description: Scrape interval time
|
2021-11-23 15:36:27 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-08-08 17:25:02 -04:00
|
|
|
default: 3m
|
2021-11-23 15:36:27 -05:00
|
|
|
required: true
|
|
|
|
- variable: scrapeTimeout
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Scrape Timeout
|
|
|
|
description: Scrape timeout Time
|
2021-11-23 15:36:27 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-08-08 17:25:02 -04:00
|
|
|
default: 1m
|
2021-11-23 15:36:27 -05:00
|
|
|
required: true
|