-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 an OTLP (gRPC) logger to Envoy #13801
Comments
Seems like we need to also implement the client-side of collector service: https://github.com/open-telemetry/opentelemetry-proto/tree/master/opentelemetry/proto/collector/logs/v1 (gRPC and HTTP). |
What is meant by "take the existing gRPC logger and just output a different format"? I think OTLP has a totally different gRPC service definition/endpoint as well as data model. I'd suggest making this a dedicated access logger built for OTLP that may borrow concepts (and potentially refactor) with gRPC access logger. |
Some clarifications:
Yes, that's exactly what we need to do.
Yes, the idea is to create a dedicated access logger built for OTLP (i.e implements the client side of the collector service). As for the implementation, we can re-use functionalities from existing loggers:
These 2 orthogonal changes can be used to create the gRPC OTLP formattable logger. The OTLP logger config would look something like this: |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
@yanavlasov @htuch Can we tag it with one of the above so it's not closed? |
@envoyproxy/security-team @envoyproxy/dependency-shepherds As part of this issue, I want to add dependencies on some protos from the OT repository I'm following the dependency policy doc to get the required approvals. Also, I'm not sure what goes into the api/.. dependencies and what goes to the regular one. |
I think it's fine depending on a pure proto repository. The dependency policy largely applies to code that is linked into the data or observability planes, but API proto repos don't need to do things like have a security policy. This belongs in |
Adding the OTLP logger will allow integration with more 3rd party monitoring frameworks, especially when using OT collector to convert them to whichever format needed.
Although OpenTelemetry logging isn't going to be part of the GA and the C++ SDK isn't ready yet, we don't actually need them in order to export OTLP logs - as long as the OTLP logs proto is stable.
The logs format is actually already available in the Amazon managed OT collector as an exporter, and Microsoft are also working on something similar, so it shouldn't change much - either way we'll get the OT community guarantee for backwards compatibility.
The general idea is to take the existing gRPC logger and just output a different format.
FYI @htuch @yanavlasov
The text was updated successfully, but these errors were encountered: