chore(prometheus): Expose prometheus configuration options in Scale GUI (#3797)
* Update prometheus configuration * Add new config quesiton to adjust prometheus.scrapeInterval. * Add new config question to adjust prometheus.evaluationInterval. * Set default scrapeInterval to 15s to match typical Prometheus deployments. * Set WAL compression to on by default, this has been default upstream since Prometheus v2.20.0 (2020-07-22). Signed-off-by: SuperQ <superq@gmail.com> * Update charts/stable/prometheus/questions.yaml Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl> Signed-off-by: SuperQ <superq@gmail.com> Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl> Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
co-authored by
Kjeld Schouten-Lebbing
parent
54d3875813
commit
652f9c6220
@@ -29,7 +29,7 @@ sources:
|
|||||||
- https://github.com/prometheus-community/helm-charts
|
- https://github.com/prometheus-community/helm-charts
|
||||||
- https://github.com/prometheus-operator/kube-prometheus
|
- https://github.com/prometheus-operator/kube-prometheus
|
||||||
type: application
|
type: application
|
||||||
version: 4.0.84
|
version: 4.0.85
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- metrics
|
- metrics
|
||||||
|
|||||||
@@ -55,6 +55,18 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
|
- variable: scrapeInterval
|
||||||
|
label: "Scrape interval"
|
||||||
|
description: "Interval between consecutive scrapes"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "15s"
|
||||||
|
- variable: evaluationInterval
|
||||||
|
label: "Evaluation interval"
|
||||||
|
description: "Interval between consecutive evaluations"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "30s"
|
||||||
- variable: disableCompaction
|
- variable: disableCompaction
|
||||||
label: "Disable Compaction"
|
label: "Disable Compaction"
|
||||||
description: "Disable the compaction of the Prometheus TSDB"
|
description: "Disable the compaction of the Prometheus TSDB"
|
||||||
@@ -67,6 +79,7 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
- variable: alertmanager
|
- variable: alertmanager
|
||||||
group: "App Configuration"
|
group: "App Configuration"
|
||||||
label: "Alertmanager Settings"
|
label: "Alertmanager Settings"
|
||||||
|
|||||||
@@ -404,10 +404,10 @@ prometheus:
|
|||||||
tolerations: []
|
tolerations: []
|
||||||
## @param prometheus.scrapeInterval Interval between consecutive scrapes
|
## @param prometheus.scrapeInterval Interval between consecutive scrapes
|
||||||
##
|
##
|
||||||
scrapeInterval: ""
|
scrapeInterval: "15s"
|
||||||
## @param prometheus.evaluationInterval Interval between consecutive evaluations
|
## @param prometheus.evaluationInterval Interval between consecutive evaluations
|
||||||
##
|
##
|
||||||
evaluationInterval: ""
|
evaluationInterval: "30s"
|
||||||
## @param prometheus.listenLocal ListenLocal makes the Prometheus server listen on loopback
|
## @param prometheus.listenLocal ListenLocal makes the Prometheus server listen on loopback
|
||||||
##
|
##
|
||||||
listenLocal: false
|
listenLocal: false
|
||||||
|
|||||||
Reference in New Issue
Block a user