1

Averages for a given time period


J
Juan

Every 2 weeks, we have our frontend overview meeting where we discuss the latest features that we have added to the project and we display the latest frontend metrics. Since there are a lot of variables when executing a specific test with Debug Bear (specifically response times from a backend), we would love to have the option to see the average score for a specific page given an exact time period.

It would be the exact same debug bear page but instead of displaying the latest test, it would display the average value. Today unfortunately I am doing this manually

A

Activity Newest / Oldest

M

Matt

Hey Juan, thanks for requesting this.

You might be aware already, but both pages and the compare section have a stats mode option that aggregates test results: www.debugbear.com/docs/compare-pages#stats-mode

> we would love to have the option to see the average score for a specific page given an exact time period.

Can you say a bit more about what you mean by "given an exact time period"? Would aggregating weekly data Monday to Sunday be enough? Do you need to aggregate across a custom period like every 2 weeks? Weekly Wednesday-Tuesday?

I've been thinking of removing stats mode as it's hard to discover and a bit confusing. Instead there could be a simpler option like "show weekly averages".

Let me know what would work well for you, then I can take that into account when making the changes.


J

Juan

Hi Matt, thanks for reaching out so quickly. I was aware of the stats mode but the description was a little bit confusing to me, and I was not really sure that it was giving me what I wanted

The tables compare the result from 20 May, 08:47 to the result from 13 May, 14:04.

Seems like it is comparing 2 results and providing the average between those two, rather than aggregating results in that time period.

And to give you more context, I usually take the API call to retrieve summaries and do the average by hand with a JS script

As for the time period, I usually take this measurement on Fridays and aggregate every two weeks. I think that you have already nailed it with the custom dropdown where you can select dates, I think that for the average feature, it would be also really practical if we could have the same thing.

I would be more than happy if we could have that option more discoverable! and a little bit more clearer


M

Matt

Hey Juan,

Thanks for pointing out the messaging is confusing right now! "The tables compare the result from 20 May, 08:47 to the result from 13 May, 14:04." means that the *tables* compare two specific test results, but the *charts* show aggregated data.

Regarding the date selection for averages, do you mostly want to be able to see the average for a specific time period? That is, a single number rather than a chart?


M

Matt

Also, one more follow-up: does it make a difference to you whether you're looking at the median or average metric value?


J

Juan

A single number rather than a chart would be a best experience I think. I am used to seeing that data as a single value rather than in a chart. It does also help to make it different from the regular debug bear page, just to make more evident that we are talking about different data


J

Juan

as of now we are using average, but it might be interesting to have other aggregation methods in the future.