Skip to content

Add key predicate to baggage span processor#2535

Merged
ocelotl merged 7 commits intoopen-telemetry:mainfrom
MikeGoldsmith:mike/baggage-predicate
May 28, 2024
Merged

Add key predicate to baggage span processor#2535
ocelotl merged 7 commits intoopen-telemetry:mainfrom
MikeGoldsmith:mike/baggage-predicate

Conversation

@MikeGoldsmith
Copy link
Member

@MikeGoldsmith MikeGoldsmith commented May 21, 2024

Description

Updates the Baggage span processor to require a baggage key predicate function that selects what keys are copied to new spans.

Fixes #2472

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Added unit tests

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@MikeGoldsmith MikeGoldsmith marked this pull request as ready for review May 22, 2024 11:11
@MikeGoldsmith MikeGoldsmith requested a review from a team May 22, 2024 11:11
@ocelotl ocelotl enabled auto-merge (squash) May 28, 2024 18:33
auto-merge was automatically disabled May 28, 2024 18:35

Pull Request is not mergeable

@ocelotl ocelotl merged commit 59a737c into open-telemetry:main May 28, 2024
@MikeGoldsmith MikeGoldsmith deleted the mike/baggage-predicate branch May 29, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Baggage span processor - key predicate

3 participants