open-feature/php-sdk

Add OpenTelemetry-Compatible Telemetry Utility Function

Offen

#143 geöffnet am 13.02.2025

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)PHP (13 Forks)auto 404
enhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (42 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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