resource attributes from container operator are not passed to downstream connector #36254
Labels
connector/otlpjson
discussion needed
Community discussion needed
enhancement
New feature or request
receiver/filelog
Component(s)
connector/otlpjson, receiver/filelog
Is your feature request related to a problem? Please describe.
With this setup
Describe the solution you'd like
The detected resource attributes from the container parser (e.g.
k8s.container.name
) should be added to the resource attributes of the log entries.However, there is no way to propagate resource attributes from the file receiver to a connector IIUC.
See https://github.com/open-telemetry/opentelemetry-collector/blob/720f3a86a3de10bc679e3cb8f8f5de4b868455e6/service/internal/graph/graph.go#L296
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: