-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request/add span attributes 'code.function' and 'code.namespace' to http server instrumentation #218
Comments
Also related, I think Client instrumentation is worse currently and warrants improvement too Posted in Discord: https://discordapp.com/channels/1121511613250412714/1154785717612970156 I have https://micronaut-projects.github.io/micronaut-tracing/latest/guide/#http enabled on our services. The server span name looks good (e.g. /v1/path/{id}/path), but the client span names area always generic |
Sorry wrong link, updated |
I think this is only the case when you use the low level client but not the declarative client |
Hmm I am using high level. I'll try with the latest again but I was able to get the function name when I manually added '@NewSpan' in the DSL client |
Feature description
Add the standard code attributes
code.function
andcode.namespace
to instrumentation 'io.micronaut.http.server'.having that allows the user/developer to reach the relevant code of that HTTP endpoint.
The text was updated successfully, but these errors were encountered: