Helm Plugin to generate OpenTelemetry traces for helm commands.
helm trace <Your Standard helm Command>
- Currently only supports Linux and MacOS
- You must have a standalone binary of tracepusher in your path (ie. you are able to run
tracepusher
from the command line and see output) - You must have an OpenTelemetry collector somewhere so the spans can be sent there
helm plugin install https://github.com/agardnerit/helm-trace
- Ensure you have an OpenTelemetry Collector available
- Add the word
trace
afterhelm
in your standard command. For examplehelm version
becomeshelm trace version
The plugin assumes the following:
- The OTEL collector URL defaults to
http://localhost:4318
- The span service name defaults to
helm
Use environment variable: HT_OTELCOL_ENDPOINT
to specify your collector endpoint
Use environment variable: HT_SERVICE_NAME
to specify a different service name
export HT_OTEL_ENDPOINT=http://otelcol.somewhere.com:4318
export HT_OTEL_ENDPOINT=helm-dev
helm trace install ...
helm plugin remove trace