transports/otellog + plugins/oteltrace against a real OTel SDK with stdout exporters
Run any of them with:
go run ./examples/<name>
Each main.go is intentionally short (50-100 lines) so it doubles as a copy-paste starting point. None require a third-party service unless explicitly noted (the Datadog example degrades to a console transport when DD_API_KEY is not set).
The otel-end-to-end example lives in its own Go module because the OpenTelemetry transport and plugin are themselves split out (see AGENTS.md "When to Split a Transport into Its Own Module"). Because Go treats it as a separate module, you have to cd into it to run: