-
Notifications
You must be signed in to change notification settings - Fork 14
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
Queries profiler #56
Comments
Will be good |
@soullivaneuh Any idea on how to achieve this goal ? |
Right now, I have absolutely no idea. 😛 I have to dig onto the Doctrine bundle code to see how it works. |
In doctrine I think uses internal events to catch queries. It s something we cannot do without wrapping the influxdb connection IMHO Il 21 lug 2016 09:57, "Sullivan SENECHAL" [email protected] ha
|
So let's wrapping it! 😄 |
Let's investigate a litte more first 😸 |
@soullivaneuh I've reached good results with a wrap of the connection class in a mongodb bundle (https://github.com/facile-it/mongodb-bundle), if you are ok with a similar approach I will try to apply the same strategy here |
@Algatux Could you please elaborate your strategy? As I understood, the mongo connection is from another library, but I guess it gives you the right information. I'm not sure we can have this with influx... |
@soullivaneuh as u can see here https://github.com/facile-it/mongodb-bundle/blob/cb81a76b73bec5beff24c849d4d124016ef8a530/src/Capsule/Collection.php wrapping the influx CLient class in the same mode will grant us all the informations we need (methods: selectDb, query and write). |
It would be a very great addition to have Influx-db queries listing on the profiler.
Like Doctrine does:
What do you think?
The text was updated successfully, but these errors were encountered: