-
Notifications
You must be signed in to change notification settings - Fork 14
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
Yoke metrics to app context - backend changes #1295
Comments
@VivekFitkariwala any other refinement needed here? |
This restriction should not be applied when adding logs because that will break the existing experiments. @amurphy-cl this is good. |
For the structure of the post Metrics we have two structures
The context is common for all the Metrics The second one
The context is per Metrics |
In the client lib should we update the |
My view is that we either have to remove it or expand it, just "add" isn't really enough for giving the client the tools to manage their metrics. I think it may be simpler to remove this capability if there isn't a good use case for why this is easier than 'admin' CRUD operations, it's already a little odd to have 2 endpoints do exactly the same thing. "Who" is authorized to change metrics state for that app-context, a google-authenticated individual user using a Google-Credential generated token, or a client-application system user using our API Token? |
Decision: use first structure so metrics will be exclusive to context. Also will remove |
@amurphy-cl @danoswaltCL Do we want to use pre-defined metrics from the .env file. If yes, then we may need to update it as it should contain context now. |
yeah it's definitely useful for dev/testing at least so we don't have to reload metrics when destroying dbs, so let's update it. We'll update in our env configs. |
The new metrics structure of env file
|
@danoswaltCL QA: Seems to work as expected. The context chip based click and search doesn't seem to work. We do have this feature in Experiment, Segment & Feature Flag Pages. Should we create another ticket for this? |
Creating a separate ticket for the above issue. |
QA passed. |
Currently, when UpGrade is used with multiple app contexts, all metrics from all contexts are visible to the user. Metrics should be specific to the app context, and when defining metrics within an experiment, the user should not see metrics for different app contexts other than the one defined for a given experiment.
Add app context to metrics structure. Metrics will not share app contexts.
Notes from the meeting
The text was updated successfully, but these errors were encountered: