Skip to content

feat(otel-hook): autoload registration of otel hook #25

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

Merged
merged 11 commits into from
Dec 28, 2022

Conversation

tcarrio
Copy link
Member

@tcarrio tcarrio commented Dec 28, 2022

This PR

  • autoload registration of otel hook

Related Issues

Notes

Projects that installed the open-feature/otel-hook package no longer need to take any action to register the hook, it will automatically be registered at startup by Composer.

If instrumentation has not been performed for OTel, this will automatically utilize a no-op tracer per their docs and has very little overhead.

Follow-up Tasks

Docs

How to test

Given the open-feature/otel-hook package is installed
When the application is run
Then the OTel hook for OpenFeature is registered in the API hooks

@tcarrio tcarrio force-pushed the feat/auto-register-otel branch from 8f4da20 to 53c9f33 Compare December 28, 2022 02:27
@tcarrio tcarrio force-pushed the feat/auto-register-otel branch from 4550612 to ffccabf Compare December 28, 2022 02:35
@tcarrio tcarrio force-pushed the feat/auto-register-otel branch from 9403e5f to f71d506 Compare December 28, 2022 02:38
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.

1 participant