open-feature/php-sdk

Add OpenTelemetry-Compatible Telemetry Utility Function

开放

#143 创建于 2025年2月13日

 (1 条评论) (0 个反应) (0 位负责人)PHP (13 个派生)auto 404
enhancementgood first issuehelp wanted

仓库指标

星标
 (42 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南