@WithSpan
class level support
#12196
Unanswered
KimDoubleB
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'm using opentelemetry in Spring boot and WithSpan annotation for Feign support.
@WithSpan
annotation only supports per method, so I have to add the annotation to each method of my Feign implementation to use it.This is inconvenient and seems to be a point that can be missed during development,
so I'm currently implementing an annotation that does something similar at the class level.
It works, but I don't think it's good in terms of maintenance.
Is there anything like
@WithSpan
annotation that works as AOP on the class level?Or are there any plans to make the
@WithSpan
annotation applicable on the class level?Beta Was this translation helpful? Give feedback.
All reactions