Closed michaelkohn closed 7 months ago
Blocked: DBs aren't syncing (Slack)
Apdex from 27th to 30th
This script was adapted based on my understanding of the test cases planned here + saving a task form.
Dates: 27th March to 30th March (taken from this comment) Total days: 4
The query has all the keys of the telemetry we expect from the automation tests.
Outcome:
@michaelkohn @ralfudx please look at the previous comments for the SQLs results.
I couldn't verify the forms' names because I didn't find them in the automated tests, but I assume these are okay-ish.
enketo:tasks:mental_health_referral_follow_up:add:save
enketo:tasks:pregnancy_home_visit:add:save
contact_list:load
, is what we expect making sense?task:load
and task:reload
- it seems some data is missing. @michaelkohn If you observe, we don't have an enketo:reports:<__app_form>.....
. That is because the only app form I could find was opened from the Contact detail page, and it's recorded as: enketo:contacts:<__app_form>...
. I assume we want to measure the Apdex of Enketo's app forms, so this should be enough since both Reports and Contact pages work similarly when rendering forms.
Let me know your thoughts.
Should I move this ticket to next week
and continue the conversation when @ralfudx is available?
@michaelkohn @ralfudx @Benmuiruri Another question: when you look at this volume of data and then at the Apdex report, do you feel it's representative enough?
Just to give you a referent, this is when we had a test party of 17 people using the Kenyan instance:
Hi @latin-panda I think what's important is to agree on a baseline. Something like: we will run the tests for 10 days for 3 CHWs (30 days worth of data becomes our baseline). With that baseline then we can do the data analysis in a consistent manner.
Thanks @Benmuiruri!
IIRC @michaelkohn suggested running the suite 10 times each day.
Your suggestion is good. I have added it in the iterations
section of this comment for our Q2 work.
@michaelkohn, we could close this one since I did the analysis and open a new one to follow up on the questions above when @ralfudx is available, or move it to next week. Either way is fine with me.
We don't have telemetry about saving tasks, something like this
That should have been addressed by https://github.com/medic/care-teams/issues/57, though I'm not sure if this was added before the tests were run.
Same with the task:load and task:reload - it seems some data is missing.
Yeah I'd agree, seems like something is missing. I would think scenario 5 (open tasks page) would register task:load
2x each time it runs, and we are simulating 10 runs per day so this should be 20 per day.
I think tasks:refresh
would only register when you create a contact or submit a report (or task cache expiry), and we are creating 1 contact and submitting 1 report (well 2 total, with #57 implemented), so I would expect tasks:refresh
to have 2 or 3 tasks:refresh
per test run, and we're simulating this happening 10x per day so 20 or 30 tasks:refresh
per day simulated.
there is a big difference in contact_list:load
Does it perhaps behave differently when you (tap the back arrow in upper left corner)
vs. clicking on the tab itself?
I assume we want to measure the Apdex of Enketo's app forms, so this should be enough since both Reports and Contact pages work similarly when rendering forms.
Agreed, I think it's fine. We'll also get some Enketo stuff from #57
Should I move this ticket to next week and continue the conversation when @ralfudx is available?
I'm actually fine closing it. The task was to run the scripts to verify the data... which you have successfully done, and have found some discrepancies. Let's close this issue and open another one for reviewing and/or fixing these issues next week. Part of the "fixing" will be to verify the data again.
Once Apdex testing scripts executed on NSSD configuration #37 is complete, do the following 👇
care_nepal_dev