Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

fix(recombine)!: change default operator type #317

Merged
merged 1 commit into from
Nov 29, 2021
Merged

fix(recombine)!: change default operator type #317

merged 1 commit into from
Nov 29, 2021

Conversation

andrzej-stencel
Copy link
Member

Here's a small inconsistency that I've found in the recombine operator. Can we fix it? Note that it is technically a breaking change.

When declaring a recombine operator in configuration without specifying the id, the default operator ID is metadata. I imagine this can cause issues when user configures both an actual metadata operator and recombine operator, both of them without their ids.

BREAKING CHANGE: The default operator ID for recombine operator is now recombine, not metadata.

When declaring a `recombine` operator in configuration
without specifying the `id`, the default operator ID is `metadata`.
This can cause issues when user configures
both an actual `metadata` operator and `recombine` operator,
both of them without their `id`s.

BREAKING CHANGE: The default operator ID for `recombine` operator
is now `recombine`, not `metadata`.
@andrzej-stencel andrzej-stencel requested a review from a team November 29, 2021 13:32
@codecov
Copy link

codecov bot commented Nov 29, 2021

Codecov Report

Merging #317 (ab0c356) into main (020ff68) will not change coverage.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #317   +/-   ##
=====================================
  Coverage   77.0%   77.0%           
=====================================
  Files         94      94           
  Lines       4408    4408           
=====================================
  Hits        3395    3395           
  Misses       697     697           
  Partials     316     316           
Impacted Files Coverage Δ
...perator/builtin/transformer/recombine/recombine.go 70.5% <100.0%> (ø)

Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this.

@djaglowski djaglowski merged commit 2645572 into open-telemetry:main Nov 29, 2021
@andrzej-stencel andrzej-stencel deleted the fix-recombine-id branch November 29, 2021 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants