Automic VaultAutomic Vault

brew

Install otel-cli with Homebrew, Nix

Tool for sending events from shell scripts & similar environments. Version 0.4.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install otel-cli

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#otel-cli

nixpkgs package indexes · pkgs/by-name/ot/otel-cli/package.nix · source: api.github.com

overview

Package summary

Tool for sending events from shell scripts & similar environments

Commands and aliases

  • otel-cli

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2021-01-08: GitHub records creation of `equinix-labs/otel-cli`.
  • 2021-08-18: a GitHub issue from a Jenkins OpenTelemetry plugin maintainer requested binaries to ease adoption.
  • 2022-02-24: GitHub release v0.0.20 shipped packaged binaries and changelog entries including `--fail` and OTLP endpoint handling fixes.
  • 2024-04-01: GitHub release v0.4.5 was published with multi-platform package assets.

Related projects

  • OpenTelemetry defines the observability APIs, SDKs, OTLP protocol, and semantic conventions that otel-cli emits into.
  • The OpenTelemetry Collector is the recommended local receiver/buffer in the README.
  • otel-desktop-viewer is documented as a local receiver/UI option for trying spans generated by otel-cli.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
otel-clicliglobal executable

freshness

Version and 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.

page generated2026-07-07
manager version0.4.5
manager updated
local dataok
upstreamcurrent
latest detectedv0.4.5

https://github.com/equinix-labs/otel-cli

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:otel-cli
Version0.4.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/otel-cli
Homepagehttps://github.com/equinix-labs/otel-cli
Repositoryhttps://github.com/equinix-labs/otel-cli
Upstream docshttps://github.com/equinix-labs/otel-cli#readme
LicenseApache-2.0
Source archivehttps://github.com/equinix-labs/otel-cli/archive/refs/tags/v0.4.5.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameotel-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

otel-cli

nix profile install nixpkgs#otel-cli
  • normalized package name match
  • Matched by: Otel Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ot/otel-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment