2021-11-23 20:36:27 +00:00
|
|
|
- variable: metrics
|
2022-08-08 21:25:02 +00:00
|
|
|
group: Metrics
|
|
|
|
label: Prometheus Metrics
|
2021-11-23 20:36:27 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-23 20:36:27 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Enabled
|
|
|
|
description: Enable Prometheus Metrics
|
2021-11-23 20:36:27 +00:00
|
|
|
schema:
|
|
|
|
type: boolean
|
2022-11-12 11:25:43 +00:00
|
|
|
default: true
|
2021-11-23 20:36:27 +00:00
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: serviceMonitor
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Service Monitor Settings
|
2021-11-23 20:36:27 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-23 20:36:27 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: interval
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Scrape Interval
|
|
|
|
description: Scrape interval time
|
2021-11-23 20:36:27 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: 1m
|
2021-11-23 20:36:27 +00:00
|
|
|
required: true
|
|
|
|
- variable: scrapeTimeout
|
2022-08-08 21:25:02 +00:00
|
|
|
label: Scrape Timeout
|
|
|
|
description: Scrape timeout Time
|
2021-11-23 20:36:27 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-08-08 21:25:02 +00:00
|
|
|
default: 30s
|
2021-11-23 20:36:27 +00:00
|
|
|
required: true
|