open-feature / open-feature/rust-sdk

Add OpenTelemetry-Compatible Telemetry Utility Function

Open
#96 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
Rust
Stars
51
Forks
13
Avg merge
3d 24m
Merged PRs (30d)
3

Description

## Description

Add a telemetry utility function to the SDK that can be used within the [finally stage](https://openfeature.dev/specification/sections/hooks/#requirement-442) 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](https://openfeature.dev/specification/appendix-d/) of the OpenFeature Specification and the [OpenTelemetry Semantic Conventions for Feature Flags](https://opentelemetry.io/docs/specs/semconv/feature-flags/feature-flags-logs/).

## 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](https://github.com/open-feature/js-sdk/blob/main/packages/shared/src/telemetry/evaluation-event.ts).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.