LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

otel-cli

OpenTelemetry CLI for sending traces, metrics, and logs

TLDR

Send a span for a command
$ otel-cli exec --service [my-app] --name [build] -- [make]
copy
Emit a server span manually
$ otel-cli span --service [api] --name [handle-request]
copy
Status / configuration check
$ otel-cli status
copy

SYNOPSIS

otel-cli *command* [*options*]

DESCRIPTION

otel-cli is a command-line client for OpenTelemetry. Wrap processes with otel-cli exec to create spans around builds and scripts, or emit spans/events directly for shell-based observability pipelines. Configure the OTLP endpoint via environment variables (e.g. OTEL_EXPORTER_OTLP_ENDPOINT) or flags.

PARAMETERS

exec -- *command*...

Run a command inside a span.
span
Create/end spans with attributes.
status
Show configuration / connectivity.
--service *name* / --name *span*
Common identity attributes.
See otel-cli --help for vendor-specific exporters and W3C traceparent propagation helpers.

INSTALL

brew install otel-cli
copy
nix profile install nixpkgs#otel-cli
copy

CAVEATS

Requires a reachable OpenTelemetry collector or backend. Incorrect endpoints silently drop telemetry. Clock skew affects span timing.

SEE ALSO

curl(1), time(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid