Grafana Integration
NudgeBee can integrate with Grafana to surface dashboards directly in the NudgeBee UI.
Configuration
-
Fetch Grafana admin password
kubectl get secret grafana \
-n <grafana-namespace> \
-o jsonpath="{.data.admin-password}" \
| base64 --decode && echo -
Create or update your
values.yamlrunner:
grafana:
enabled: true
username: "admin"
password: "<GRAFANA_PASSWORD>"
url: "http://grafana.grafana.svc" -
Apply configuration and upgrade the agent
- Using shell script:
sh installation.sh -a <NUDBGEE_AUTH_KEY> -f values.yaml - Using Helm:
helm repo add nudgebee-agent https://nudgebee.github.io/k8s-agent/
helm repo update
helm upgrade --install nudgebee-agent nudgebee-agent/nudgebee-agent \
--namespace nudgebee-agent \
--create-namespace \
-f values.yaml
- Using shell script:
Replace
<GRAFANA_PASSWORD>and<NUDBGEE_AUTH_KEY>with your actual values, and adjust the Grafana namespace if it differs fromgrafana.