mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-25 05:26:50 +00:00
feat: add metrics support in helm chart (#2109)
Signed-off-by: houseme <housemecn@gmail.com> Co-authored-by: houseme <housemecn@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -41,5 +41,9 @@ data:
|
||||
RUSTFS_TLS_KEYLOG: "1"
|
||||
RUSTFS_TLS_PATH: "/opt/tls"
|
||||
{{- end }}
|
||||
# RUSTFS_MTLS_CLIENT_CERT: "/opt/tls/client_cert.pem"
|
||||
# RUSTFS_MTLS_CLIENT_KEY: "/opt/tls/client_key.pem"
|
||||
{{- if .Values.config.rustfs.metrics.enabled }}
|
||||
RUSTFS_OBS_METRIC_ENDPOINT: {{ .Values.config.rustfs.metrics.endpoint | quote }}
|
||||
{{- else }}
|
||||
RUSTFS_OBS_METRIC_ENDPOINT: ""
|
||||
RUSTFS_OBS_METRICS_EXPORT_ENABLED: "false"
|
||||
{{- end }}
|
||||
|
||||
@@ -72,6 +72,9 @@ config:
|
||||
# size: 100 # Default value: 100 MB
|
||||
# time: hour # Default value: hour, eg: day,hour,minute,second
|
||||
# keep_files: 30 # number of rotated log files to keep
|
||||
metrics:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export metrics to this OTLP endpoint. e.g. "http://localhost:4318/v1/metrics"
|
||||
|
||||
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
|
||||
serviceAccount:
|
||||
|
||||
Reference in New Issue
Block a user