opendut
opendut copied to clipboard
Export traces and logs from Netbird
We are interested in the logs and traces of netbird. Therefore the configuration of Netbird should be adjusted to export these information to the OpenTelemetry collector.
@reimarstier please add some infos about required Netbird configuration
Netbird exposes a metrics endpoint here: https://github.com/netbirdio/netbird/pull/517. Logs may need an exporter on the container itself.
Configuration parameters of netbird management service are the following:
root@da63af8bb856:/# /go/bin/netbird-mgmt management --help | grep metrics
--disable-anonymous-metrics disables push of anonymous usage metrics to NetBird
--metrics-port int metrics endpoint http port. Metrics are accessible under host:metrics-port/metrics (default 8081)
If not disabled, the netbird management service exposes a metrics endpoint here: http://netbird-management:8081/metrics