Automic VaultAutomic Vault

brew

otel-cli を Homebrew, Nix でインストール

otel-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install otel-cli

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#otel-cli

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

概要

パッケージ概要

Tool for sending events from shell scripts & similar environments

コマンドとエイリアス

  • otel-cli

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:shell

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
otel-clicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.4.5
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.4.5

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

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:otel-cli
バージョン0.4.5
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/otel-cli
ホームページhttps://github.com/equinix-labs/otel-cli
リポジトリhttps://github.com/equinix-labs/otel-cli
上流ドキュメントhttps://github.com/equinix-labs/otel-cli#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/equinix-labs/otel-cli/archive/refs/tags/v0.4.5.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

otel-cli

nix profile install nixpkgs#otel-cli
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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