Closed soullivaneuh closed 7 years ago
:open_mouth: great! :+1:
Thought about this! As said we need to encapsulate Influx object into some our ones to catch all the executed queries. Trying to figure out an easy way
Yeah, currently it's just fake data to work on the toolbar design. :wink:
As said we need to encapsulate Influx object into some our ones to catch all the executed queries. Trying to figure out an easy way
Maybe we can suggest query profiling as a PR on influx core library and then, use it here?
It s a possibility. We can try but I feel that will not be accepted because you have everything in your hands using the library
but I feel that will not be accepted because you have everything in your hands using the library
Maybe. We have to elaborate good arguments.
But I think this is not so hard to implement a system that optionally store executed queries to be recuperated from getters.
Because indeed, if they don't accept that, we have to wrapping all Database
methods. This would be quite cumbersome.
@Soullivaneuh I've implemented something similar in https://github.com/facile-it/mongodb-bundle
Closes #56
This is just a WIP POC to integrate this bundle onto the Web profiler.
This PR is a lab to see together what can be done, or not, for this part.
Profiler toolbar screenshots: