docker / cli

The Docker CLI
Apache License 2.0
4.77k stars 1.89k forks source link

Add OTel instrumentation to CLI plugins #5051

Closed laurazard closed 2 months ago

laurazard commented 2 months ago

- What I did

Instrument CLI plugin commands to track command.time meter, same as the regular CLI commands.

$ DOCKER_CLI_OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4321 ./build/docker compose down

image

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

image

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 61.32%. Comparing base (02537ea) to head (5f4f4f6). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5051 +/- ## ========================================== - Coverage 61.35% 61.32% -0.04% ========================================== Files 298 295 -3 Lines 20685 20687 +2 ========================================== - Hits 12691 12686 -5 - Misses 7093 7099 +6 - Partials 901 902 +1 ```