You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a content modifier processor with OTLP data in the input or output, the content modifier clears/nukes the OTLP metadata associated with the log data. Additionally, the action to be taken by the content modifier fails (e.g. upsert key: value)
curl -X POST http://localhost:4318/v1/logs -H "Content-Type: application/json" -d @log.json
Expected behavior
Metadata and attributes should be persisted like so (which happens if you remove the content-modifier processor from the listed config above). Also, manually updated the resource attributes to include foo: bar which is also expected.
Bug Report
Describe the bug
When using a content modifier processor with OTLP data in the input or output, the content modifier clears/nukes the OTLP metadata associated with the log data. Additionally, the action to be taken by the content modifier fails (e.g. upsert key: value)
To Reproduce
Expected behavior
Metadata and attributes should be persisted like so (which happens if you remove the content-modifier processor from the listed config above). Also, manually updated the resource attributes to include
foo: bar
which is also expected.Actual behavior
Output will be the following (notice the missing metadata + attributes, and lack of a 'foo' field):
Screenshots
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: