-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane team
Description
The otelmap package was created to serve as a translation layer between Beats's mapstr.M type and OpenTelemetry’s pcommon.Map.
As a middle ground, we use Go’s map[string]any
as a proxy type between the two. Libbeat provides a generic serializer that handles most of the type conversions we need, so we could leverage it in otelmap instead of duplicating the same logic as we do today.
There are some caveats and possibly minor inconsistencies in how otelmap and libbeat perform these conversions. The goal is to identify these differences and evaluate whether it's feasible to rely on libbeat instead. Since libbeat is used in standalone Beats, the last thing we want is to break existing functionality.
khushijain21
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane team