open-feature/php-sdk

Add OpenTelemetry-Compatible Telemetry Utility Function

Aperta

#143 aperta il 13 feb 2025

 (1 commento) (0 reazioni) (0 assegnatari)PHP (13 fork)auto 404
enhancementgood first issuehelp wanted

Metriche repository

Star
 (42 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor