gnodet-bot commented on code in PR #31315:
URL: https://github.com/apache/camel/pull/31315#discussion_r4782792503
##########
components/camel-telemetry/src/main/java/org/apache/camel/telemetry/Tracer.java:
##########
@@ -148,6 +148,14 @@ public void setSpanLifecycleManager(SpanLifecycleManager
spanLifecycleManager) {
this.spanLifecycleManager = spanLifecycleManager;
}
+ public SpanStorageManager getSpanStorageManager() {
Review Comment:
💡 `getSpanStorageManager()` is `public` but only consumed by the `protected
TraceProcessor` subclasses inside `TraceProcessorsInterceptStrategy`, which is
in the same package. Making it package-private would avoid widening the
external API surface unnecessarily.
```suggestion
SpanStorageManager getSpanStorageManager() {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]