Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing Requests and Presenting on a Dashboard #58

Open
hirenshah opened this issue Sep 7, 2023 · 2 comments
Open

Storing Requests and Presenting on a Dashboard #58

hirenshah opened this issue Sep 7, 2023 · 2 comments

Comments

@hirenshah
Copy link

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)?

@mendhak
Copy link
Owner

mendhak commented Dec 3, 2023

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.

@mendhak
Copy link
Owner

mendhak commented Dec 3, 2023

Maybe this? https://stackoverflow.com/a/55096667/974369

Hmm but it would require logging to a file forevermore which introduces disk/space concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants