-
Notifications
You must be signed in to change notification settings - Fork 18
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
OpenTelemetry Specification compliance #86
Comments
The sink's aiming for compliance with the OpenTelemetry protocol. I'll call that out in the README 👍 |
Thanks! |
That works fine and hopefully decreases potential confusion. In future, there could be a separate Sink/adapter that would work with OpenTelemtry Logs Bridge API. |
Definitely! This is what OpenTelemetry.Extensions.Serilog does, I think, so hopefully that will be the solid solution for those looking for integration into the SDK 👍 |
The approach of integrating Serilog with OpenTelemetry Logs is NOT compliant with OpenTelemetry specification.
The OpenTelemtry SDK should accept a logger provider via Bridge API which is not done yet (see: open-telemetry/opentelemetry-dotnet#4433)
As far as I understand correctly, the Serilog Sink ("log appender" in OpenTelemetry specification) would only have to depend on
OpenTelemetry.Api
NuGet package.Maybe the fact that the design is not OpenTelemetry Specification compliant could be mentioned in the docs?
Originally posted by @pellared in #73 (comment)
The text was updated successfully, but these errors were encountered: