-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add OpenTelemetry Log support to all services #1472
Comments
#1433 adds OTLP Logs to Shipping Service (Rust) |
@puckpuck please assign this issue to me. |
I recommend you do this for 1 service and submit the PR accordingly. It would be great to announce in this thread the service you are working on next. |
Alright I will do exacly that |
Hello @puckpuck and everyone here.
|
@puckpuck @jpkrohling please could you look at the PR I opened for the first task? #1477 |
|
@puckpuck @jpkrohling please I have opened a PR for adding otel log support to the checkout service |
|
@puckpuck @jpkrohling I've opened a PR for Product catalog here #1479 please take a look |
|
@Kimbohlovette hey, we appreciate your enthusiasm, but you're not actually adding logging support. You're adding a bridge between logging libraries and span events. These aren't the same things. Log support in the Go SDK is currently in development (https://github.com/orgs/open-telemetry/projects/43), so you would need to see if it's in a usable state and if there's any bridges set up for existing Go logging libraries. |
Okay @austinlparker. I will look into that |
Hello @puckpuck I think there is no work to be done on the |
@julianocosta89 @pellared can I work on every go service listed above replacing the logrus with slog while waiting for |
Hello @Kimbohlovette, according to the OTel Go repo, the logs are still in development: https://github.com/open-telemetry/opentelemetry-go?tab=readme-ov-file#project-status I wouldn't implement anything yet |
@Kimbohlovette, for Go, this issue is unblocked per https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.26.0 You should use the following packages to emit OTel Logs to OTel Collector
You can also look at open-telemetry/opentelemetry-go#5349 for some reference. |
Thanks for the update @pellared! @Kimbohlovette wanna take it? |
@julianocosta89 yes I will work on it. |
@pellared would you have some time to help me here please? |
@Kimbohlovette, the logs are supposed to be send by the application to the collector using OTLP. You should be able to check if you have the logs in the collector. Otherwise, debug the application. It is hard to help without any code. |
Okay let me push what I did |
We have converted several but not all services from console output to OpenTelemetry Logs. This is a list of remaining services that need OpenTelmetry log support to be added. This should be accomplished by leveraging an instrumentation library for the existing logging framework or re-writing the console output to leverage an OpenTelemetry LogProvider.
The text was updated successfully, but these errors were encountered: