Update metrics3m.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing 2023-01-25 11:41:27 +01:00 committed by GitHub
parent 763db93dfb
commit 4ddc26be60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 35 deletions

View File

@ -1,35 +1,35 @@
- 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: 3m
required: true
- variable: scrapeTimeout
label: Scrape Timeout
description: Scrape timeout Time
schema:
type: string
default: 1m
required: true
# - 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: 3m
# required: true
# - variable: scrapeTimeout
# label: Scrape Timeout
# description: Scrape timeout Time
# schema:
# type: string
# default: 1m
# required: true