You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to setup the otelcol.processor.k8sattributes with Grafana Loki. Unfortunately, the k8sattributes processor seems to not be capable of extracting the k8s metadata from the loki.source.kubernetes module. The module outputs no new labels. My assumption is that it doesnt work because loki.source.kubernetes does not expose k8s.pod.ip, which the k8sattributes processor uses for pod matching
What's wrong?
Im trying to setup the otelcol.processor.k8sattributes with Grafana Loki. Unfortunately, the k8sattributes processor seems to not be capable of extracting the k8s metadata from the loki.source.kubernetes module. The module outputs no new labels. My assumption is that it doesnt work because loki.source.kubernetes does not expose k8s.pod.ip, which the k8sattributes processor uses for pod matching
This is my config:
The pipeline thus looks like this:
The debug component however only writes this to the console (there is a ubuntu container in the default namespace that writes hello world to stdout):
Steps to reproduce
kubectl run -n default ubuntu --image=ubuntu:latest -- sh -c 'while true; do echo "hello world"; sleep 1; done'
kubectl logs alloy-infra-0 -f
System information
Linux, Azure AKS
Software version
Grafana Alloy v1.0.0
Configuration
Logs
The text was updated successfully, but these errors were encountered: