| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add OTel annotations and API dependencies to enable distributed tracing of CloudStack API requests. The @WithSpan annotation on handleRequest() tags each trace with the API command name (e.g. listVirtualMachines), making it possible to filter and analyze per-command latency. The OTel agent auto-instruments JDBC and HTTP calls, providing full request waterfalls with no additional code changes. All instrumentation is inert without the OTel Java agent attached: @WithSpan is ignored, Span.current() returns a no-op, and the opentelemetry-api calls return immediately with zero overhead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…gement Centralizes OTel version definitions to avoid version skew across modules and removes unused OTel dependency from api module. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## 4.22 #13132 +/- ##
============================================
- Coverage 17.68% 17.67% -0.01%
+ Complexity 15794 15790 -4
============================================
Files 5922 5922
Lines 533095 533098 +3
Branches 65208 65209 +1
============================================
- Hits 94281 94237 -44
- Misses 428171 428223 +52
+ Partials 10643 10638 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17781 |
Sorry, something went wrong.
|
@vladimirpetrov a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
Sorry, something went wrong.
|
[SF] Trillian test result (tid-16311)
|
Sorry, something went wrong.
There was a problem hiding this comment.
Code LGTM
Sorry, something went wrong.
Co-authored-by: tmckeon <tmckeon@apple.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> (cherry picked from commit aef91ae)
| Back | FazBrowse Home | New Git URL |
Description
This PR add OpenTelemetry tracing instrumentation to API layer.
When the OTel Java agent is attached (via -javaagent), every API request is traced with:
All changes are no-ops without the OTel agent deployed. The @WithSpan annotation is ignored, Span.current() returns a no-op, and the opentelemetry-api calls return immediately with zero overhead. The two added dependencies (opentelemetry-instrumentation-annotations and opentelemetry-api) are lightweight JARs (~50KB + ~200KB) with no transitive dependencies.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tracing output is visible in Grafana/Tempo when the OTel agent is attached.
How did you try to break this feature and the system with this change?