Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Grouping routes and changing log level. #3
As mentioned on Fastify issues: fastify/fastify#830
I thought it might be worth repeating here. I think two useful features to look at might be:
These are actually the same page just localisation makes the route differ, you might want to group these together.
Yeah I can, I wanted to on the other ticket just didn't get a chance... would like to here though.
With grouping, like above the path for instance:
So I was wondering about giving the routes some kind of identifier? Then you have two options this could either aggregate the metrics, probably too costly or just add the identifier into the stats object then whatever monitoring tool you use could do the hardwork?
We might stick something into https://github.com/fastify/fastify/blob/master/docs/Routes.md#config and use that instead of the URL. What do you think?