Skip to content

Commit

Permalink
datalake-metrics: compactor workarounds
Browse files Browse the repository at this point in the history
Signed-off-by: paulfantom <[email protected]>
  • Loading branch information
paulfantom committed Dec 1, 2024
1 parent 9e4e594 commit 87e3fbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/datalake-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ compactor:
storageClass: longhorn-r2
size: 30Gi
retentionResolutionRaw: 33d # Keep raw samples for 33 days
retentionResolution5m: 120d # Keep samples downsampled to 5m for 99 days (note that 5m downsampling kicks in after 40h)
retentionResolution5m: 97d # Keep samples downsampled to 5m for 97 days (note that 5m downsampling kicks in after 40h)
retentionResolution1h: 365d # Keep samples downsampled to 1h for 1 year (note that 1h downsampling kicks in after 10d)
extraFlags:
# Thanos cannot deduplicate data on write and it should be deduplicated by compactor
# However to do this, compactor needs to know what are the labels attached by thanos receiver and ruler
- --deduplication.replica-label=replica
- --hash-func=SHA256
- --downsampling.disable # FIXME: temporary workaround
- --delete-delay=2h # FIXME: temporary workaround

storegateway:
enabled: true
Expand Down

0 comments on commit 87e3fbd

Please sign in to comment.