diff --git a/templates/questions/metrics/metrics.yaml b/templates/questions/metrics/metrics.yaml index fba3340d58a..eac814f9498 100644 --- a/templates/questions/metrics/metrics.yaml +++ b/templates/questions/metrics/metrics.yaml @@ -1,36 +1,36 @@ -# - 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: 1m -# required: true -# - variable: scrapeTimeout -# label: Scrape Timeout -# description: Scrape timeout Time -# schema: -# type: string -# default: 30s -# 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: 1m + required: true + - variable: scrapeTimeout + label: Scrape Timeout + description: Scrape timeout Time + schema: + type: string + default: 30s + required: true +