Skip to content

[pkg/stanza] Recombine operator inverts 'overwrite_with' setting #30783

Closed
@djaglowski

Description

@djaglowski

Component(s)

pkg/stanza

What happened?

Description

When using the overwrite_with setting, the recombine operator should either choose the newest or oldest entry in a batch as the base. Currently, it is doing the opposite in each case.

While this is clearly a bug fix, it may make sense to invert the default value as well, so that people currently using the operator without this setting do not experience a breaking change.

Collector version

v0.92.0

Environment information

No response

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions