Skip to content

Storing Requests and Presenting on a Dashboard #58

Description

@hirenshah

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

Activity

  1. mendhak commented on Dec 3, 2023

    @mendhak
    Owner

    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.

  2. mendhak commented on Dec 3, 2023

    @mendhak
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions