Merge pull request #15 from grafana/add_retention

Add retention for Loki, Mimir and Tempo
This commit is contained in:
Michel Hollands 2023-08-15 16:54:41 +01:00 committed by GitHub
commit f80c9d7c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,13 +71,22 @@ loki:
storage:
type: "s3"
s3:
endpoint: "meta-minio.meta.svc:9000"
access_key_id: rootuser
secret_access_key: rootpassword
insecure: true
s3ForcePathStyle: true
bucketNames:
chunks: loki-chunks
ruler: loki-ruler
structuredConfig:
common:
storage:
s3:
access_key_id: "{{ .Values.global.minio.rootUser }}"
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
compactor:
retention_enabled: true
limits_config:
retention_period: 24h
monitoring:
dashboards:
enabled: false
@ -128,6 +137,8 @@ mimir-distributed:
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
limits:
compactor_blocks_retention_period: 24h
tempo-distributed:
tempo:
@ -141,6 +152,9 @@ tempo-distributed:
access_key: "{{ .Values.global.minio.rootUser }}"
secret_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
compactor:
compaction:
block_retention: 24h
traces:
otlp:
http: