Re: server-timing -- change to server-metrics and allow arbitrary metrics

Hey Steve,

The best place to discuss this is on the repo's issues. It seems like
there's one <https://github.com/w3c/server-timing/issues/45> that discusses
a similar use case.

Cheers :)
Yoav

On Tue, Aug 18, 2020 at 11:41 AM Steve Goodwin <steve.goodwin@plutora.com>
wrote:

> (apologies if this is the wrong way to comment on
> https://w3c.github.io/server-timing)
>
> It would be nice if the SERVER-TIMING header spec allowed for other
> metrics apart from duration. I'd like to include counts of db calls, cache
> hits/misses, basically the ability to add arbitrary metrics. I appreciate
> duration is useful for drawing timelines, but other metrics would be useful
> during development.
>
> SERVER-TIMING database;dur=300;count=10
> SERVER-TIMING cache;hit=10;miss=2;duration=100;avg=10;stddev=4.5
>
> Which leads to the possibly over-the-top request to change SERVER-TIMING
> to SERVER-METRICS with duration being a pre-defined metric.
>
> Cheers
>
> Steve
>

Received on Tuesday, 18 August 2020 12:10:58 UTC