Skip to content

Commit 1479d44

Browse files
committedFeb 6, 2025
docs: metadata conceptual doc
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent c9b936e commit 1479d44

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎docs/concepts/feature-flagging.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Below is a non-exhaustive table of common feature flag use-cases, and how flagd
2222
| dynamic (context-sensitive) evaluation | flagd evaluations are context sensitive. Rules can use arbitrary context attributes as inputs for flag evaluation logic. |
2323
| fractional evaluation / random assignment | flagd's [fractional](../reference/custom-operations/fractional-operation.md) custom operation supports pseudorandom assignment of flag values. |
2424
| progressive roll-outs | Progressive roll-outs of new features can be accomplished by leveraging the [fractional](../reference/custom-operations/fractional-operation.md) custom operation as well as automation in your build pipeline, SCM, or infrastructure which updates the distribution over time. |
25+
| feature flag telemetry | flagd supports the OpenTelemetry conventions for feature flags, by returning compliant [resolution details](https://openfeature.dev/specification/types#resolution-details) and [metadata](../reference/monitoring.md#metadata), in addition to flag values. |

‎docs/reference/monitoring.md

+7
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,10 @@ scrape_configs:
161161
162162
Once, configuration files are ready, use `docker-compose up` to start the local setup. With successful startup, you can
163163
access metrics through [Prometheus](http://localhost:9090/graph) & traces through [Jaeger](http://localhost:16686/).
164+
165+
## Metadata
166+
167+
[Flag metadata](https://openfeature.dev/specification/types/#flag-metadata) comprises auxiliary data pertaining to feature flags; it's highly valuable in telemetry signals.
168+
Flag metadata might consist of attributes indicating the version of the flag, an identifier for the flag set, ownership information about the flag, or other documentary information.
169+
flagd supports flag metadata in all its [gRPC protocols](../reference/specifications//protos.md), in [OFREP](../reference/flagd-ofrep.md), and in its [flag definitions](./flag-definitions.md#metadata).
170+
These attributes are returned with flag evaluations, and can be added to telemetry signals as outlined in the [OpenFeature specification](https://openfeature.dev/specification/appendix-d).

0 commit comments

Comments
 (0)