Upgrade OpenFeature and add new telemetry Hooks#2332
Merged
julianocosta89 merged 4 commits intoopen-telemetry:mainfrom Jul 4, 2025
Merged
Upgrade OpenFeature and add new telemetry Hooks#2332julianocosta89 merged 4 commits intoopen-telemetry:mainfrom
julianocosta89 merged 4 commits intoopen-telemetry:mainfrom
Conversation
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
…rHook Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
…try Hooks Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
julianocosta89
approved these changes
Jul 4, 2025
Member
julianocosta89
left a comment
There was a problem hiding this comment.
LGTM Thanks for the update!
rnjn
pushed a commit
to base-14/opentelemetry-demo
that referenced
this pull request
Jul 28, 2025
* build(deps): update OpenFeature packages to version 2.7.0 Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * fix: update OpenFeature hooks to include MetricsHook and TraceEnricherHook Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * feat: add OpenFeature meter to OpenTelemetry metrics configuration Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * chore: update changelog to include OpenFeature upgrade and new telemetry Hooks Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> --------- Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
cloud-hb
pushed a commit
to cloud-hb/opentelemetry-demo
that referenced
this pull request
Nov 17, 2025
* build(deps): update OpenFeature packages to version 2.7.0 Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * fix: update OpenFeature hooks to include MetricsHook and TraceEnricherHook Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * feat: add OpenFeature meter to OpenTelemetry metrics configuration Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> * chore: update changelog to include OpenFeature upgrade and new telemetry Hooks Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com> --------- Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This pull request updates the
src/cartproject to enhance observability and modernise OpenFeature integration. Key changes include replacing deprecated hooks, adding new instrumentation, and upgrading package versions.Observability Enhancements:
TracingHookwithMetricsHookandTraceEnricherHookto improve telemetry capabilities. The old Hooks library is now deprecated. (src/cart/src/Program.cs, src/cart/src/Program.csL46-R47)OpenFeatureinstrumentation to the metrics pipeline for better visibility into feature flag usage. (src/cart/src/Program.cs, src/cart/src/Program.csR75)OpenFeature Modernisation:
2.6.0to2.7.0forOpenFeature,OpenFeature.DependencyInjection, andOpenFeature.Hosting. (src/cart/src/cart.csproj, src/cart/src/cart.csprojL33-R35)OpenFeature.Contrib.Hooks.Otelnamespace withOpenFeature.Hooksto align with the latest library structure. (src/cart/src/Program.cs, src/cart/src/Program.csL20-R20)Notes:
Merge Requirements
For new features contributions, please make sure you have completed the following
essential items:
CHANGELOG.mdupdated to document new feature additionsMaintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.