otel-cli

Send events and traces to OpenTelemetry backends from shell scripts

brewmacoslinux
Try with needOr install directly
Source

About

Tool for sending events from shell scripts & similar environments

Commands

otel-cli

Examples

Send a simple event to an OTEL collector$ otel-cli exec --endpoint http://localhost:4317 -- your-command
Record a span with custom attributes$ otel-cli span --name 'backup-job' --attribute env=production sleep 5
Send an event with specific service name$ otel-cli event --name 'deployment' --service my-app --attribute version=1.0