Skip to content

Commit

Permalink
Enable loki and set loki.chunksCache.to 128 to limits memory useage.
Browse files Browse the repository at this point in the history
Here’s a temporary solution; refer to this issue for details.
grafana/loki#12809
  • Loading branch information
shu-unifra committed Nov 5, 2024
1 parent 472aefb commit 99dc2ad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/scroll-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: helm chart to deploy grafana, prometheus and loki to monitor scroll-sdk
name: scroll-monitor
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/scroll-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ grafana:
- "grafana.scrollsdk"

loki:
enabled: false
enabled: true
fullnameOverride: loki
deploymentMode: SingleBinary
persistence:
Expand Down
7 changes: 6 additions & 1 deletion charts/scroll-monitor/values/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ kube-prometheus-stack:
receiver: "slack-alerts"
routes:
- matchers: []
receiver: "slack-alerts"
receiver: "slack-alerts"
loki:
chunksCache:
allocatedMemory: 128
resultsCache:
allocatedMemory: 128
7 changes: 6 additions & 1 deletion examples/values/scroll-monitor-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ kube-prometheus-stack:
receiver: "slack-alerts"
routes:
- matchers: []
receiver: "slack-alerts"
receiver: "slack-alerts"
loki:
chunksCache:
allocatedMemory: 128
resultsCache:
allocatedMemory: 128

0 comments on commit 99dc2ad

Please sign in to comment.