Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Our company is also using OpenTelemetry standard for observability. I have been paying attention to the construction of OpenTelemetry, but I found that the Logs capability is not provided. so we developed the implementation of Logs by referring to the design standard. Recently, the community started developing Logs after the Metric stable release was completed. so I want to contribute the code that has been done with reference to the community's latest specifications and style, as well as the recent implementation of Logs in java, to build on and improve the capability of Logs. Accelerate the building of Logs capability so that developers like me can use the stable version of OpenTelemetry capability sooner rather than later. Welcome to participate in the CR and discussion.
PR
This PR is mainly to develop and improve the Logs signal ecology, including the following contents (there are a lot of contents, CR can be divided into modules).
api-logs
Module directory: experimental/packages/API - logs
Detail: in the process of development, it is found that the existing api-logs (v0.34.0) is inconsistent with the design standard and fails to meet part of the sdk capabilities, so a part of the code is reconstructed after referring to the design standard and java implementation. The main details are as follows:
sdk-logs
Module directory: experimental/packages/sdk-logs、packages/opentelemetry-core/src/utils
Detail: this module is a completely new module. According to the design standards of sdk and the implementation of java, the Logs SDK complete capability is completed. The functions are as follows:
exporter-logs-otlp-http
Module directory: experimental/packages/exporter-logs-otlp-http、experimental/packages/otlp-transformer
Note: this module is completely new. It implements the full capabilities of exporter- OTLP-HTTP in accordance with the design standards of exporter-otlp and with reference to the java implementation. The functions are as follows: