starlette_exporter icon indicating copy to clipboard operation
starlette_exporter copied to clipboard

`from_header` but for `Response`?

Open lainiwa opened this issue 8 months ago • 5 comments

Is there any way to create a label based on response in starlette_exporter? My use-case is adding a hit-or-miss={hit,miss} label based on the x-fastapi-cache header.

lainiwa avatar Oct 10 '23 17:10 lainiwa