Skip to content

Explore native OTel telemetry in SDKs vs hook-based approach #372

Description

@jonathannorris

Context

At KubeCon EU 2026, the OTel observability discussion (recap) proposed moving telemetry from hooks into the SDKs natively.

Problem

Today, OTel integration in OpenFeature is done through hooks. This means every user or provider has to set up telemetry hooks separately. The group discussed whether traces and metrics should be built into the SDKs directly, so telemetry is available out of the box, particularly in the flagd providers.

Questions

  • Should the SDK spec define optional native OTel support (traces and metrics) as a built-in capability?
  • Or is the hook-based approach sufficient if we provide well-maintained official hooks?
  • If native, should it be opt-in (e.g. enabled when an OTel SDK is detected) to avoid adding a hard dependency?
  • Should flagd providers ship with telemetry enabled by default?

Considerations

  • Native support improves developer experience by removing setup friction
  • Hook-based approach keeps the SDK core lightweight and avoids coupling to OTel
  • A middle ground could be official OTel hooks that providers wire up automatically
  • The existing Feature Flag Semantic Conventions SIG defines the attributes we should emit

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions