trallnag / prometheus-fastapi-instrumentator

Instrument your FastAPI with Prometheus metrics.
ISC License
948 stars 84 forks source link

What are untemplated routes/requests? #314

Open IrrerPolterer opened 4 months ago

IrrerPolterer commented 4 months ago

As the title says - I wonder about the exact meaning of untemplated routes.

If I read the source code right, these are routes for which starette doesn't have a handler defined... (?) Based on that assumption - do I understand it right that such requests would basically always end up in a 404 response? And that's why there is an option to exclude them?

I think I'm just getting hung up on the 'untemplated' part. The word 'template' isn't a common phrase for fastapi routes and I want to make sure I understand the purpose of these parameters correctly.