This configuration should parse your ATProto/Bluesky PDS logs into nicely formatted and structured OpenTelemetry Logs.
You'll need to use OpenTelemetry Collector Contrib, and you can either install it on your host or run it as a container (if running as a container, you'll need to map the Docker log path in as a read-only volume).
This also assumes that your Docker daemon.json
has "tag": "{{.Name}}|{{.ImageName}}|{{.ID}}"
set under log-opts
(this is how we parse the container metadata).
As an exercise to the reader, you can use the count
connector to parse the log stream into Prometheus or OTLP metrics. You can also add in hostmetrics
receiver to get memory, CPU, disk, etc. utilization.
To read the data stream, create an exporter to your favorite OTLP destination (like honeycomb.io) or others.