-
Notifications
You must be signed in to change notification settings - Fork 49
feat: add standardized Propagation Evaluation to Flag Metadata. #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
51efc33
8393c2c
f100365
0b65bd8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,6 +51,15 @@ The following describes how keys in [flag metadata](types.md#flag-metadata) are | |
| | ---------------------------- | ----------------------- | ----------------- | -------- | ------------------------------------------------------------------------------------------------ | | ||
| | `feature_flag.provider.name` | `name` | `Recommended` | `string` | The name of the provider as defined in the `provider metadata`, available in the `hook context`. | | ||
|
|
||
| ### Propagation Metadata | ||
|
|
||
| Feature Flags are propagated through different systems with different methods. Often this updates have an asynchronous nature to the evaluation and do not correlate directly (eg. cached values or in-process evaluations). For distributed systems it is important to reflect how changes are populate to all systems, and how those correlate with evaluations. In a simple manner the version could be used to achieve this, but offers additional and more complex solution to correlate the data. Instead we are defining two additional metadata properties `propagationTraceId` and `propagationSpanId` which can be used to link evaluation spans to propagation spans. | ||
|
||
|
|
||
| | Provider Metadata Field | Requirement level | Type | Notes | | ||
lukas-reining marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
aepfli marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | ----------------------- | ----------------- | -------- | -------------------------------------- | | ||
| | `propagationSpanId` | `Optional` | `string` | The span id of the propagation event. | | ||
| | `propagationTraceId` | `Optional` | `string` | The trace id of the propagation event. | | ||
|
|
||
| ## History | ||
|
|
||
| Feature flags in the OpenTelemetry semantic conventions are currently in development and are marked as experimental. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.