feat(prometheus): add more config options to GUI (#1398)
* feat(prometheus): add more config options to GUI * move to core
This commit is contained in:
committed by
GitHub
parent
ec8bf3b3f3
commit
d925ce6fbf
@@ -20,7 +20,7 @@ sources:
|
||||
- https://github.com/prometheus-community/helm-charts
|
||||
- https://github.com/prometheus-operator/kube-prometheus
|
||||
type: application
|
||||
version: 0.0.10
|
||||
version: 1.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- metrics
|
||||
@@ -24,6 +24,98 @@ questions:
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
- variable: operator
|
||||
group: "App Configuration"
|
||||
label: "Operator Settings"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: logLevel
|
||||
label: "Log Level"
|
||||
description: "Log level for Operator"
|
||||
schema:
|
||||
type: string
|
||||
default: "info"
|
||||
|
||||
|
||||
- variable: prometheus
|
||||
group: "App Configuration"
|
||||
label: "Prometheus Settings"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: logLevel
|
||||
label: "Log Level"
|
||||
description: "Log level for Prometheus"
|
||||
schema:
|
||||
type: string
|
||||
default: "info"
|
||||
- variable: retention
|
||||
label: "Retention"
|
||||
description: "Metrics retention days"
|
||||
schema:
|
||||
type: string
|
||||
default: "31d"
|
||||
- variable: retentionSize
|
||||
label: "Max Retention Size"
|
||||
description: "Maximum size of metrics"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: disableCompaction
|
||||
label: "Disable Compaction"
|
||||
description: "Disable the compaction of the Prometheus TSDB"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: walCompression
|
||||
label: "WAL Compression"
|
||||
description: "Enable compression of the write-ahead log using Snappy"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
|
||||
- variable: alertmanager
|
||||
group: "App Configuration"
|
||||
label: "Alertmanager Settings"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: logLevel
|
||||
label: "Log Level"
|
||||
description: "Log level for Alertmanager"
|
||||
schema:
|
||||
type: string
|
||||
default: "info"
|
||||
- variable: retention
|
||||
label: "Retention"
|
||||
description: "Metrics retention days"
|
||||
schema:
|
||||
type: string
|
||||
default: "240h"
|
||||
|
||||
|
||||
- variable: service
|
||||
group: "Networking and Services"
|
||||
@@ -528,7 +528,7 @@ prometheus:
|
||||
probeNamespaceSelector: {}
|
||||
## @param prometheus.retention Metrics retention days
|
||||
##
|
||||
retention: 10d
|
||||
retention: 31d
|
||||
## @param prometheus.retentionSize Maximum size of metrics
|
||||
##
|
||||
retentionSize: ""
|
||||
@@ -1062,7 +1062,7 @@ alertmanager:
|
||||
configMaps: []
|
||||
## @param alertmanager.retention Metrics retention days
|
||||
##
|
||||
retention: 120h
|
||||
retention: 240h
|
||||
## @param alertmanager.storageSpec Alertmanager StorageSpec for persistent data
|
||||
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
|
||||
##
|
||||
Reference in New Issue
Block a user