Skip to content
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 helper function to get serializable LogRecord #5735

Closed
nanorobocop opened this issue Jul 23, 2022 · 1 comment
Closed

Add helper function to get serializable LogRecord #5735

nanorobocop opened this issue Jul 23, 2022 · 1 comment
Labels
area:pdata pdata module related issues enhancement New feature or request

Comments

@nanorobocop
Copy link

nanorobocop commented Jul 23, 2022

Is your feature request related to a problem?
OTLP log format consists of nested objects LogsData -> []ResourceLogs -> []ScopeLogs -> []LogRecord (proto).

There's helper function to obtain serializable ResourceLogs structure - LogsToProto.
But there's no such function to obtain serializable LogRecord.
Serializable LogRecord may require for exporters that want to deal with individual log records, like in open-telemetry/opentelemetry-collector-contrib#12623

Describe the solution you'd like
Add helper function to get serializable LogRecord.

Describe alternatives you've considered
no

Additional context
no

@mx-psi mx-psi added enhancement New feature or request area:pdata pdata module related issues labels Jul 27, 2022
@bogdandrutu
Copy link
Member

Per the comments in the initial issue open-telemetry/opentelemetry-collector-contrib#12623 (comment) we are closing this and will not provide this functionality for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:pdata pdata module related issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants