We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kotlin.Result
Related links:
Name of the method should appear in the trace as is or as specified in the first arg of @NewSpan.
@NewSpan
The name appears with extra characters, given this code:
@Singleton open class OneService { @NewSpan open fun hello(): Result<String> { return Result.success("hello") } }
the name of the method in the trace appears like this:
and when doing
@NewSpan("helloworld")
it appears like this:
Set up a dummy service and a controller:
@Singleton open class OneService { @NewSpan("helloworld") open fun hello(): Result<String> { return Result.success("hello") } } @Controller("/probes") class Healthcheck(val oneService: OneService) { @Get("/health") fun health(): String { return "health" + oneService.hello().getOrThrow() } }
Run jaeger:
docker run --name jaeger \ -e COLLECTOR_OTLP_ENABLED=true \ -p 16686:16686 \ -p 4317:4317 \ -p 4318:4318 \ jaegertracing/all-in-one
Call the method: curl http://localhost:8080/probes/health
curl http://localhost:8080/probes/health
Observe wrong names in the trace.
No response
4.4.2, 4.50
The text was updated successfully, but these errors were encountered:
We're also running into this. It's effectively making troubleshooting issues via stack traces impossible for us, which is pretty bad.
Sorry, something went wrong.
No branches or pull requests
Related links:
Expected Behavior
Name of the method should appear in the trace as is or as specified in the first arg of
@NewSpan
.Actual Behaviour
The name appears with extra characters, given this code:
the name of the method in the trace appears like this:
and when doing
@NewSpan("helloworld")
it appears like this:
Steps To Reproduce
Set up a dummy service and a controller:
Run jaeger:
Call the method:
curl http://localhost:8080/probes/health
Observe wrong names in the trace.
Environment Information
Example Application
No response
Version
4.4.2, 4.50
The text was updated successfully, but these errors were encountered: