Skip to content

resolve time info in graphiql #1097

@gwaihir8

Description

@gwaihir8

Hi, thanks for creating this great module!

I'm working on a quite big project for a client, and certain big graphql queries start taking up quite some time.
That's why i'm looking into performance monitoring of my queries. I found the graphiql-debug-toolbar, but that is only giving me insight in the number of sql database hits.

two things:

  • many of my resolver functions need to fetch data from an external time series database, which takes a bit of time. It would be nice to monitor how many calls to this external database were made.
  • i would like to monitor the total time each resolver took while executing its function. It would be nice to return that as debug info, or inject it as comments in the query field of graphiql (if that is possible somehow).

Does anybody know how i could start developing such functionality, using middleware or ... ?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions