Skip to content

Commit dd2d2d2

Browse files
committed
feat(grafana): add configurable logLevel option
Add grafana.logLevel option (default: info) to control Grafana's log verbosity. Set to "warn" or "error" to reduce log volume.
1 parent 5a82b3f commit dd2d2d2

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

charts/grafana/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
apiVersion: v2
22
name: grafana
3-
version: 0.64.0
3+
version: 0.65.0

charts/grafana/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# grafana
22

3-
![Version: 0.64.0](https://img.shields.io/badge/Version-0.64.0-informational?style=flat-square)
3+
![Version: 0.65.0](https://img.shields.io/badge/Version-0.65.0-informational?style=flat-square)
44

55
Deploys Grafana to a cluster
66

@@ -21,7 +21,7 @@ secret in the same namespace as the app. The secret should have the following fi
2121
| crossplaneProviders.gf.datasources | list | `[]` | |
2222
| crossplaneProviders.gf.debug | bool | `false` | |
2323
| crossplaneProviders.gf.enabled | bool | `true` | |
24-
| crossplaneProviders.gf.tag | string | `"v0.8.0"` | |
24+
| crossplaneProviders.gf.tag | string | `"v0.9.1"` | |
2525
| crossplaneProviders.grafana.datasources | list | `[]` | |
2626
| crossplaneProviders.grafana.debug | bool | `false` | |
2727
| crossplaneProviders.grafana.enabled | bool | `true` | |
@@ -78,6 +78,7 @@ secret in the same namespace as the app. The secret should have the following fi
7878
| grafana.ingress.enabled | bool | `false` | |
7979
| grafana.ingress.host | string | `"gf"` | |
8080
| grafana.ingress.ingressClassName | string | `"nginx"` | |
81+
| grafana.logLevel | string | `"info"` | |
8182
| grafana.pluginSync.enabled | bool | `false` | |
8283
| grafana.pluginSync.schedule | string | `"*/15 * * * *"` | |
8384
| grafana.plugins | list | `[]` | |
@@ -88,7 +89,7 @@ secret in the same namespace as the app. The secret should have the following fi
8889
| grafana.ssoAuthEnabled | bool | `false` | |
8990
| grafana.tenants | list | `[]` | |
9091
| grafanaChart.releaseName | string | `"gf"` | |
91-
| grafanaChart.version | string | `"11.3.0"` | |
92+
| grafanaChart.version | string | `"11.3.3"` | |
9293

9394
----------------------------------------------
9495
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

charts/grafana/config/grafana-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ grafana.ini:
188188
unified_alerting.screenshots:
189189
capture: true
190190
log:
191+
level: {{ .Values.grafana.logLevel }}
191192
filters: rendering:debug
192193
database:
193194
type: "postgres"

charts/grafana/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ grafana:
9999
extraInitContainers: []
100100
extraVolumes: []
101101
env: {}
102+
# Log level for Grafana (debug, info, warn, error, critical)
103+
# Set to "warn" or "error" to reduce log volume
104+
logLevel: info
102105
# Plugin sync CronJob configuration
103106
# Workaround for https://github.com/grafana/grafana/issues/109269
104107
# Periodically syncs plugins across all Grafana pods in HA deployments

0 commit comments

Comments
 (0)