open-feature/php-sdk
Add OpenTelemetry-Compatible Telemetry Utility Function
Open
#143 opened on Feb 13, 2025
enhancementgood first issuehelp wanted
Repository metrics
- Stars
- (42 stars)
- PR merge metrics
- (PR metrics pending)
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.