open-feature / open-feature/php-sdk
Add OpenTelemetry-Compatible Telemetry Utility Function
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 43
- Forks
- 14
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 4
Description
Description
Add a telemetry utility function to the SDK that can be used within the finally stage of a hook to create OpenTelemetry-compatible telemetry signals. It must comply with the OpenTelemetry specification and meet the technical requirements, including those from Appendix D of the OpenFeature Specification and the OpenTelemetry Semantic Conventions for Feature Flags.
Requirements
- Must comply with the OpenTelemetry (OTel) specification.
- Must be included in the SDK.
- Must not include any third-party dependencies.
- Must adhere to the observability conformance requirements in Appendix D of the OpenFeature Specification.
Example implementation
A JavaScript implementation can found here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the OpenFeature hook finally-stage requirement, Appendix D, and the OpenTelemetry semantic conventions for feature-flag logs. Compare the linked JavaScript implementation for SDK-level behavior, then define the PHP SDK utility and verify that it requires no third-party dependencies and meets the listed observability requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100