thomaspoignant / go-feature-flag

GO Feature Flag is a simple, complete and lightweight self-hosted feature flag solution 100% Open Source. 🎛️
https://gofeatureflag.org/
MIT License
1.26k stars 122 forks source link

(feature) Add open telemetry support #68

Closed thomaspoignant closed 1 year ago

thomaspoignant commented 3 years ago

Requirements

Add support for opentelemetry. The goal is to be able to track when we call the retriever to get the new value of the flag

But it could be great also to have a way to notify that a flag has changed to be able to see in your dataset that a something has changed in your app.

thomaspoignant commented 3 years ago

Super interesting discussion in the Honeycomb pollinator slack about opentelemetry in libs https://honeycombpollinators.slack.com/archives/C024EUJNUUC/p1623258936092200

thomaspoignant commented 1 year ago

I will close this issue since it can be handled by OpenFeature directly.

If you want to use GO Feature Flag in combination with OpenTelemetry the best option is to use the GO Feature Flag provider for OpenFeature _(see doc) and to use the associate OpenTelemetry hook for OpenFeature (see docs)_.