bananaml / potassium

An HTTP serving framework by Banana
Apache License 2.0
97 stars 9 forks source link

add idle time status #32

Closed Peddle closed 11 months ago

Peddle commented 1 year ago

What is this?

Adds idle time reporting to potassium status endpoint.

Why?

IdleTime is a useful metric for a load balancer to track to know when to scale down replicas.

How did you test it works without regressions?

unit tests passing + manual testing

If this is a new feature what may a critical error look like?

Things to consider to not repeat mistakes we've learned from many times