2021-11-23 20:36:27 +00:00
|
|
|
- variable: metrics
|
|
|
|
group: "Metrics"
|
|
|
|
label: "Prometheus Metrics"
|
|
|
|
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
|
|
|
|
label: "Enabled"
|
|
|
|
description: "Enable Prometheus Metrics"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
2021-11-25 13:34:46 +00:00
|
|
|
default: false
|
2021-11-23 20:36:27 +00:00
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: serviceMonitor
|
|
|
|
label: "Service Monitor Settings"
|
|
|
|
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
|
|
|
|
label: "Scrape Interval"
|
|
|
|
description: "Scrape interval time"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "3m"
|
|
|
|
required: true
|
|
|
|
- variable: scrapeTimeout
|
|
|
|
label: "Scrape Timeout"
|
|
|
|
description: "Scrape timeout Time"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "1m"
|
|
|
|
required: true
|