{"repo":"equinix-labs/otel-cli","free":true,"listed":false,"github":"https://github.com/equinix-labs/otel-cli","clone":"git clone https://github.com/equinix-labs/otel-cli.git","description":"OpenTelemetry command-line tool for sending events from shell scripts & similar environments","language":"Go","stars":709,"topics":["cli","observability","opentelemetry","shell"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"otel-cli otel-cli is a command-line tool for sending OpenTelemetry traces. It is written in Go and intended to be used in shell scripts and other places where the best option available for sending spans is executing another program. otel-cli can be added to your scripts with no configuration and it will run as normal but in non-recording mode and will emit no traces. This follows the OpenTelemetry community's philosophy of \"first, do no harm\" and makes it so you can add otel-cli to your code and later turn it on. Since otel-cli needs to connect to the OTLP endpoint on each run, it is highly recommended to use a localhost opentelemetry collector that can buffer spans so that the connection cost does not slow down your program too much. Getting Started We publish a number of package formats for otel-cli, including tar.gz, zip (windows), apk (Alpine), rpm (Red Hat variants), deb (Debian variants), and a brew tap. These can be found on the repo's Releases page. On most platforms the easiest way is a go get: Docker images are published for each otel-cli release as well: To use the brew tap e.g. on MacOS: Alternatively, clone the repo and build it locally: Examples Configuration Everything is configurable via CLI arguments, json config, and environment variables. If no endpoint is specified, otel-cli will run in non-recording mode and not attempt to contact any servers. All three modes of config can be mixed. Command line args are loaded first, then config file, then environment va","default_branch":null,"files":null,"tree":[],"storefront":"/r/equinix-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/equinix-labs/otel-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}