3 ms·
We're currently authoring an API and have a built an extremely crude reporting page showing endpoint response times by method. https://sandbox.microco.sm/api/d
by buro9 14y ago
We're currently authoring an API and have a built an extremely crude reporting page showing endpoint response times by method.
https://sandbox.microco.sm/api/debug/slow?method=GET https://sandbox.microco.sm/api/debug/slow?method=GET
The data on it isn't accurate at the moment as I keep runnning tests designed to flush caches and then re-request resources which skews the numbers.
I want this kind of data so that if I were a developer implementing against an API I would have real data to tell me what the expected response times for a HTTP method and endpoint.
When we get to producing an uptime page, I was thinking of treating uptime as a relative quality measure rather than a yes|no thing... if an endpoint responds in more than a couple of seconds then it's score might by 80%, and less than 50ms then it's 100%, and unresponsive or down would be 0%.
Question is: Is this kind of thing useful? Does anyone have a preferred format for this kind of data?