Image of the otel-cli binary with support for certificates.
This image allows you to quickly send test spans in a Kubernetes cluster or Docker environment with a single command.
Replace ...
with the access token for your Cloud Observability project.
otel-cli
has no output if successful. A span will appear in your project after a few minutes.
Check logs (kubectl logs otel-cli
) for errors.
kubectl run otel-cli \
--image=ghcr.io/lightstep/otel-cli-with-certs:latest \
--env "OTEL_EXPORTER_OTLP_ENDPOINT=ingest.lightstep.com:443" \
--env 'OTEL_EXPORTER_OTLP_HEADERS="lightstep-access-token=..."' \
--command -- ./otel-cli span --verbose -n testing -s k8s_span
Replace ...
with the access token for your Cloud Observability project.
docker run --name otel-cli-with-certs --rm \
-e OTEL_EXPORTER_OTLP_ENDPOINT=ingest.lightstep.com:443 \
-e OTEL_EXPORTER_OTLP_HEADERS="lightstep-access-token=..." \
ghcr.io/lightstep/otel-cli-with-certs \
span --verbose -n testing -s docker_span