Open hirenshah opened 10 months ago
Really hard to say because there could be dozens of 'environment' specific constraints that may or may not work for you... eg you redirect all the output from this container to a log file and then find some way of exposing it via a web dashboard like this one?
Another way could be if that was part of this solution itself, but ideally if something exists then it's a middleware that someone else has already implemented (I would not want to have to maintain a middleware), very similar to the recent Prometheus pull request — the Prometheus metrics show up at the /metrics
path — so I can imagine some kind of /dashboard
endpoint or a /logs
endpoint that shows all the requests/responses together. A morgan web log viewer? Not finding many good results on that.
Maybe this? https://stackoverflow.com/a/55096667/974369
Hmm but it would require logging to a file forevermore which introduces disk/space concerns.
Is there any way for this to be extended to store all the requests and present them on a user friendly dashboard (I have users who aren't that tech savvy)?