2023-02-07 10:14:25 -05:00
|
|
|
- variable: metrics
|
|
|
|
group: Metrics
|
|
|
|
label: Prometheus Metrics
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: Enabled
|
|
|
|
description: Enable Prometheus Metrics
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: serviceMonitor
|
|
|
|
label: Service Monitor Settings
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: interval
|
|
|
|
label: Scrape Interval
|
|
|
|
description: Scrape interval time
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: 60m
|
|
|
|
required: true
|
|
|
|
- variable: scrapeTimeout
|
|
|
|
label: Scrape Timeout
|
|
|
|
description: Scrape timeout Time
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: 1m
|
|
|
|
required: true
|