Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: otel metric hook #332

Merged
merged 9 commits into from
Jul 14, 2023

Conversation

Kavindu-Dodan
Copy link
Collaborator

@Kavindu-Dodan Kavindu-Dodan commented May 30, 2023

This PR

Fixes #329 by implementing the OTel metrics hook OFEP proposed through open-feature/ofep#62

⚠️ Breaking change - Renaming Traces and Metrics classes to give better meaning

  • Library (dev.openfeature.contrib.hooks) version is updated to 2.0.0
  • Renamed OpenTelemetryHook to TracesHook
  • Renamed OpenTelemetryHookOptions to TracesHookOptions

@Kavindu-Dodan Kavindu-Dodan changed the title implement otel metric hook feat: implement otel metric hook May 30, 2023
pom.xml Outdated Show resolved Hide resolved
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan marked this pull request as ready for review July 14, 2023 16:16
@Kavindu-Dodan Kavindu-Dodan requested a review from a team as a code owner July 14, 2023 16:16
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan changed the title feat: implement otel metric hook feat!: implement otel metric hook Jul 14, 2023
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan
Copy link
Collaborator Author

@toddbaert like you proposed, I have made this a breaking change. Plus refactored by renaming OTel hook classes

Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

LGTM - I think this is my only concern.

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@toddbaert toddbaert changed the title feat!: implement otel metric hook feat!: otel metric hook Jul 14, 2023
pom.xml Outdated Show resolved Hide resolved
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan merged commit 3cc9310 into open-feature:main Jul 14, 2023
3 checks passed
DBlanchard88 pushed a commit to DBlanchard88/java-sdk-contrib that referenced this pull request Apr 29, 2024
…e-plugin to v3 (open-feature#332)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Implement OTel metrics hook
2 participants