cli
cli copied to clipboard
Add OTel instrumentation to CLI plugins
- What I did
Very hacky/WIP code that changes the plugin lib code to automatically instrument CLI plugins the same way we instrument CLI commands.
$ DOCKER_CLI_OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4321 ./build/docker compose down
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.
Project coverage is 61.32%. Comparing base (
02537ea) to head (5f4f4f6). Report is 490 commits behind head on master.
Additional details and impacted files
@@ 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