macOS
brew install otel-clilocal Homebrew formula metadata
brew
Tool for sending events from shell scripts & similar environments. Version 0.4.5 via Homebrew; verified from local package data.
install
brew install otel-clilocal Homebrew formula metadata
nix profile install nixpkgs#otel-clinixpkgs package indexes · pkgs/by-name/ot/otel-cli/package.nix · source: api.github.com
overview
Tool for sending events from shell scripts & similar environments
history
otel-cli is an Equinix Labs command-line tool for emitting OpenTelemetry traces from shell scripts and other environments where launching a helper process is the simplest instrumentation option.
GitHub records `equinix-labs/otel-cli` as created on 2021-01-08. The README describes the tool as a Go program for sending OpenTelemetry traces, built for shell scripts and places where executing another program is the best available way to create spans.
The project follows OpenTelemetry's configuration culture: CLI flags, JSON config, and environment variables map onto OTEL-style endpoint, protocol, timeout, header, service-name, and traceparent settings. The README also documents a deliberate non-recording default when no endpoint is configured, so adding the command to a script does not break normal execution before tracing is enabled.
otel-cli's adoption niche is observability for glue code. OpenTelemetry SDKs cover application languages, but shell scripts, CI jobs, and one-off operational commands often need a lower-friction path. The README recommends using a localhost OpenTelemetry Collector to buffer spans and avoid per-command connection overhead.
Release assets broadened installation beyond Go source builds. The README documents tar.gz, Windows zip, Alpine apk, Red Hat rpm, Debian deb, Docker images, and a Homebrew tap, while the av.db input records a Homebrew formula and Nix package.
Users wrap commands with `otel-cli exec` to run a process inside a span, call `otel-cli span` to emit spans with explicit start and end times, pass W3C `traceparent` context through environment variables or arguments, and run `otel-cli server tui` or `otel-cli server json` for local inspection and test capture.
The tool is especially useful in CI/CD and operations scripts because it can bridge command execution into an OpenTelemetry backend without rewriting the script in a language SDK. It can send to an OpenTelemetry Collector or to vendors that accept OTLP.
otel-cli is package-nerd significant because it turns an observability protocol into a packageable executable. Its release matrix, environment-variable compatibility, and package-manager availability are part of the product: a tracing tool for scripts only works if it is easy to install wherever scripts run.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
otel-cli | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/equinix-labs/otel-cli
install metadata
| Package key | brew:otel-cli |
|---|---|
| Version | 0.4.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/otel-cli |
| Homepage | https://github.com/equinix-labs/otel-cli |
| Repository | https://github.com/equinix-labs/otel-cli |
| Upstream docs | https://github.com/equinix-labs/otel-cli#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/equinix-labs/otel-cli/archive/refs/tags/v0.4.5.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | otel-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
otel-cli
nix profile install nixpkgs#otel-clisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.