Skip to content
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

No traceId and spanId #3

Open
muradzulfugarov opened this issue Jan 27, 2023 · 2 comments
Open

No traceId and spanId #3

muradzulfugarov opened this issue Jan 27, 2023 · 2 comments

Comments

@muradzulfugarov
Copy link

Hi,

I just cloned and run the applications on my local, however traceId and spanId are empty in the logs, like below:

2023-01-27T15:03:21.000+04:00 INFO [book-service,,] 99000 --- [nio-8001-exec-6] c.t.bookservice.BookController : Returning list of books in the catalog

What can be the problem?

@muradzulfugarov
Copy link
Author

@ThomasVitale any idea?

@ThomasVitale
Copy link
Owner

@muradzulfugarov the two applications were configured with the tracing disabled by default when running in Java, and enabled in Docker. Could that have been the case? When it's disabled, no traceId or spanId are generated.

I have just delivered some changes and now tracing is enabled by default even when running the apps directly from Java. Could you try that again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants