Open
Description
we trying to deploy grafana alloy with beyla unprivillaged mode configs to scrap the metrics,logs and traces we following the provided beyla.ebpf config . not able to get traces
but we getting the debug logs as below:
time=2025-07-09T13:45:47.500Z level=DEBUG msg="can't get container info for PID" component=discover.watcherKubeEnricher pid=2265264 error="/proc/2265264/cgroup: couldn't find any docker entry for process with PID 2265264"
Alloy version : v1.6.1
config.river
beyla.ebpf "default" {
// Enable Kubernetes decoration
attributes {
kubernetes {
enable = "true"
}
}
// Enable debug mode
debug = true
//trace_printer = "json"
// Discovery all deployments in the default namespace
discovery {
services {
exe_path = "http"
open_ports = "8080"
kubernetes {
deployment_name = "."
pod_name = "employee.*"
}
}
}
// Enable all metrics features for Prometheus
metrics {
features = [
"application",
]
}
output {
traces = [otelcol.processor.batch.trace.input]
}
}
otelcol.processor.batch "trace" {
output {
traces = [otelcol.exporter.otlp.tempo.input]
}
}
otelcol.exporter.otlp "tempo" {
client {
endpoint = "[https://tempo.com/traces"
tls {
insecure = true
insecure_skip_verify = true
}
headers = {
"X-Scope-OrgID" = "beyla-test",
}
}
}
securityContext:
appArmorProfile:
type: Unconfined
privileged: false
runAsUser: 0
runAsGroup: 0
allowPrivilegeEscalation: false
capabilities:
add:
- BPF
- SYS_PTRACE
- NET_RAW
- CHECKPOINT_RESTORE
- DAC_READ_SEARCH
- PERFMON
- SYS_RESOURCE
- SYS_ADMIN
- NET_ADMIN
- SYSLOG
Metadata
Metadata
Assignees
Labels
No labels