Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

how to integrate with jaeger #16

Open
liujichao2017 opened this issue Nov 12, 2022 · 6 comments
Open

how to integrate with jaeger #16

liujichao2017 opened this issue Nov 12, 2022 · 6 comments

Comments

@liujichao2017
Copy link

I have create a new service with the command: go-micro new service --jaeger helloworld, and I make sure the jaeger started successfully,I could visit the jaeger ui in http:localhost:16686, and I also could call the func in my new service well. But I couldn't see any infomation about this service in the jaeger ui console, and I can't get anything by searching service name in the jaeger ui console .The code is all generated by command, I don't why ,please help me ,i am stunk in this problem, thank you

@Davincible
Copy link
Contributor

I haven't used jaeger myself yet, but maybe you need to enable the tracing wrapper; https://github.com/go-micro/plugins/tree/main/v4/wrapper/trace/opentelemetry

@liujichao2017
Copy link
Author

my codes like this ,it doesn't work
1668242982317

@xpunch
Copy link
Contributor

xpunch commented Nov 13, 2022

https://github.com/go-micro/demo/blob/main/src/adservice/main.go#L66

@liujichao2017
Copy link
Author

I tried like these codes many times, but it doesn't work, could help me check the code

@liujichao2017
Copy link
Author

1671080568365
when i debug the code, i found it can not into the this place, directly exec the code next...

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

No branches or pull requests

3 participants