Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Loki and set loki.chunksCache to 128 to limit memory usage #230

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
6 changes: 2 additions & 4 deletions charts/scroll-monitor/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scroll-monitor

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

helm chart to deploy grafana, prometheus and loki to monitor scroll-sdk

Expand Down Expand Up @@ -80,7 +80,7 @@ Kubernetes: `>=1.22.0-0`
| kube-prometheus-stack.prometheus.prometheusSpec.serviceMonitorSelector.matchExpressions[0].operator | string | `"Exists"` | |
| loki.backend.replicas | int | `0` | |
| loki.deploymentMode | string | `"SingleBinary"` | |
| loki.enabled | bool | `false` | |
| loki.enabled | bool | `true` | |
| loki.fullnameOverride | string | `"loki"` | |
| loki.loki.commonConfig.replication_factor | int | `1` | |
| loki.loki.schemaConfig.configs[0].from | string | `"2024-01-01"` | |
Expand All @@ -101,5 +101,3 @@ Kubernetes: `>=1.22.0-0`
| promtail.config.clients[0].url | string | `"http://loki:3100/loki/api/v1/push"` | |
| promtail.enabled | bool | `true` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
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
2 changes: 1 addition & 1 deletion examples/Makefile.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ NAMESPACE ?= default

install:
helm upgrade -i scroll-monitor oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-monitor -n $(NAMESPACE) \
--version=0.1.0 \
--version=0.1.1 \
--values values/scroll-monitor-production.yaml

helm upgrade -i scroll-common oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-common -n $(NAMESPACE) \
Expand Down
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
Loading