Merge pull request #15 from grafana/add_retention
Add retention for Loki, Mimir and Tempo
This commit is contained in:
commit
f80c9d7c43
@ -71,13 +71,22 @@ loki:
|
|||||||
storage:
|
storage:
|
||||||
type: "s3"
|
type: "s3"
|
||||||
s3:
|
s3:
|
||||||
endpoint: "meta-minio.meta.svc:9000"
|
|
||||||
access_key_id: rootuser
|
|
||||||
secret_access_key: rootpassword
|
|
||||||
insecure: true
|
insecure: true
|
||||||
|
s3ForcePathStyle: true
|
||||||
bucketNames:
|
bucketNames:
|
||||||
chunks: loki-chunks
|
chunks: loki-chunks
|
||||||
ruler: loki-ruler
|
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:
|
monitoring:
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -128,6 +137,8 @@ mimir-distributed:
|
|||||||
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
|
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
|
||||||
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
|
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
|
||||||
insecure: true
|
insecure: true
|
||||||
|
limits:
|
||||||
|
compactor_blocks_retention_period: 24h
|
||||||
|
|
||||||
tempo-distributed:
|
tempo-distributed:
|
||||||
tempo:
|
tempo:
|
||||||
@ -141,6 +152,9 @@ tempo-distributed:
|
|||||||
access_key: "{{ .Values.global.minio.rootUser }}"
|
access_key: "{{ .Values.global.minio.rootUser }}"
|
||||||
secret_key: "{{ .Values.global.minio.rootPassword }}"
|
secret_key: "{{ .Values.global.minio.rootPassword }}"
|
||||||
insecure: true
|
insecure: true
|
||||||
|
compactor:
|
||||||
|
compaction:
|
||||||
|
block_retention: 24h
|
||||||
traces:
|
traces:
|
||||||
otlp:
|
otlp:
|
||||||
http:
|
http:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user