-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/awss3]: add marshaller for Sumo Logic Installed Collector format #23212
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I was about to file something similar so I'll add my thoughts here. Currently, the
These little details make it so we can build a custom Marshaler, instantiate it, and wire it in the existing exporter without changing the exporter's code. I believe this would be the simplest approach while the Encoding Extension is being worked on |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Current issue status: |
…ctor format (#23649) **Description:** This PR adds a new marshaller for `awss3` exporter. It exports logs in the format of Sumo Logic Installed Collector. Metrics and traces are not supported - creating an exporter for them will result in an error. Currently, nested typed (eg. map inside a map) might not be supported correctly - I have to confirm the IC's behavior with them, but I wanted to create the PR so that it can be reviewed early. **Link to tracking Issue:** #23212 **Testing:** Unit tests and manual e2e tests. Some automatic e2e tests will come later, but they will not be part of this repo, they will be a test for integrating the ingest with Sumo Logic's backend. **Documentation:** Readme updated. --------- Signed-off-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]>
The PR was merged, the work is done - new issues to follow on encoding. We can close this issue. |
Component(s)
exporter/awss3
Is your feature request related to a problem? Please describe.
We would like to add a marshaller to the S3 exporter that will export the data in the format of deprecated Sumo Logic Installed Collector. An example use case is to send the data to S3 in order to send them to Sumo Logic later when needed.
Describe the solution you'd like
A reasonable solution would be to add an additional config option:
It is already partially supported in the code (see paragraph "additional context").
Describe alternatives you've considered
An alternative would be to use this extension: #28686
However, it's still very early in the development phase and no code has been merged yet, so we can't use it now.
Additional context
Current implementation of the exporter allows to add other marshallers:
opentelemetry-collector-contrib/exporter/awss3exporter/marshaler.go
Line 26 in 8dc41a8
opentelemetry-collector-contrib/exporter/awss3exporter/config.go
Line 25 in 8dc41a8
There is a PoC for logs here: https://github.com/SumoLogic/sumologic-otel-collector/blob/sumo_ic_marshaler/pkg/translator/sumoicmarshaler/sumo_ic_marshaler.go but it will undergo some changes before merging it to contrib repo (adding support for metrics and traces etc.).
The text was updated successfully, but these errors were encountered: