Skip to content
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

V2: Support Environments in Evaluation and Analytics #3913

Open
markphelps opened this issue Feb 11, 2025 · 0 comments
Open

V2: Support Environments in Evaluation and Analytics #3913

markphelps opened this issue Feb 11, 2025 · 0 comments
Labels
enhancement Created by Linear-GitHub Sync v2 For consideration for v2 of Flipt

Comments

@markphelps
Copy link
Collaborator

Now that we have decided to make environments a first class thing in v2, we need a way to support scoping evaluations (and metrics that are captured) to a specific environment.

We want to maintain backward compatibility as much as possible with the current v1 evaluation and OFREP APIs.

One thought is we would allow operators to define a 'default' environment that will be used for evaluations and also give them the opportunity to add an environment key in the header of the evaluation requests to override this default and support arbitrary environments in the request.

This would mean we would need to update all of our SDKs (both client and server side) to make setting this environment header easier for the caller.

For analytics, we want to capture the environment for all requests and add the environment in both ClickHouse and Prometheus 'backends'

@markphelps markphelps added the v2 For consideration for v2 of Flipt label Feb 11, 2025
@dosubot dosubot bot added the enhancement Created by Linear-GitHub Sync label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Created by Linear-GitHub Sync v2 For consideration for v2 of Flipt
Projects
Status: No status
Development

No branches or pull requests

1 participant