open-feature / spec

OpenFeature specification
https://openfeature.dev
Apache License 2.0
612 stars 35 forks source link

feat: start working on Tracking Events proposal #102

Closed weyert closed 1 year ago

weyert commented 2 years ago

Note: This pull request is not ready to be reviewed and heavily in design. Creating it to keep track of things

A draft proposal for the Tracking Event to allow application developers to emit tracking events which can be useful when their feature flag system to support driving feature flag evaluation by previous events or person properties.

Use case: Application developer has a dynamic cohort which puts users into it after they have completed a step in the application, for example the onboarding wizard. A person gets added to the cohort after a specific event has been emitted in relation to the user.

Next a feature flag can be defined which is only active for users in this specific cohort

beeme1mr commented 1 year ago

I'm going to close this PR until a OFEP for tracking events have been accepted.