fix
This commit is contained in:
@@ -349,11 +349,16 @@ data:
|
||||
config.alloy: |-
|
||||
loki.write "default" {
|
||||
endpoint {
|
||||
url = "http://loki-gateway.grafana-loki.svc.cluster.local/loki/api/v1/push"
|
||||
url = "http://loki-gateway.grafana-loki.svc.cluster.local/loki/api/v1/push"
|
||||
}
|
||||
}
|
||||
|
||||
discovery.kubernetes "pod" {
|
||||
role = "pod"
|
||||
}
|
||||
|
||||
loki.source.kubernetes "pod_logs" {
|
||||
targets = discovery.kubernetes.pod.targets
|
||||
forward_to = [loki.write.default.receiver]
|
||||
}
|
||||
kind: ConfigMap
|
||||
|
||||
Reference in New Issue
Block a user