* `from_response_header`: a new helper function for adding metric series labels based on HTTP response header values. See the README for more info. Example:
python
from starlette_exporter import PrometheusMiddleware, from_header, from_response_header
app.add_middleware(
PrometheusMiddleware,
labels={
"cache": from_response_header("X-FastAPI-Cache", allowed_values=("hit", "miss"))
}
)
Feedback and bug reports welcome - please open an issue.