Skip to content

Big performance degradation cause by profiles in OTTL #42350

@bogdandrutu

Description

@bogdandrutu

Component(s)

No response

What happened?

Because of how profiles have their schema and of the #39416 every map operation now forces a copy of the Map in the Setter.

I think we should consider an immediate rollback and then consider a proper fix where the Setter is no-op where it can be no-op.

Collector version

v0.133.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

Log output

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpkg/ottl

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions