Add monitoring stack

This commit is contained in:
Grant
2025-03-15 15:10:17 -06:00
parent f2c9ab770f
commit 34b1e9e077
9 changed files with 183 additions and 4 deletions

23
grafana/alloy_values.yaml Normal file
View File

@@ -0,0 +1,23 @@
alloy:
configMap:
content: |-
logging {
level = "info"
format = "logfmt"
}
discovery.kubernetes "pods" {
role = "pod"
}
loki.source.kubernetes "pods" {
targets = discovery.kubernetes.pods.targets
forward_to = [loki.write.loki.receiver]
}
loki.write "loki" {
endpoint {
url = "http://loki.grafana.svc.cluster.local:3100/loki/api/v1/push"
}
}