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

Queries profiler #56

Open
soullivaneuh opened this issue Jul 18, 2016 · 9 comments
Open

Queries profiler #56

soullivaneuh opened this issue Jul 18, 2016 · 9 comments

Comments

@soullivaneuh
Copy link
Collaborator

It would be a very great addition to have Influx-db queries listing on the profiler.

Like Doctrine does:

image

image

What do you think?

@Algatux
Copy link
Owner

Algatux commented Jul 18, 2016

Will be good

@Algatux
Copy link
Owner

Algatux commented Jul 21, 2016

@soullivaneuh Any idea on how to achieve this goal ?
How can we get the executed queries using directly the influxdb library ?

@soullivaneuh
Copy link
Collaborator Author

Right now, I have absolutely no idea. 😛

I have to dig onto the Doctrine bundle code to see how it works.

@Algatux
Copy link
Owner

Algatux commented Jul 21, 2016

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
scritto:

Right now, I have absolutely no idea. 😛

I have to dig onto the Doctrine bundle code to see how it works.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#56 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2QIJtJc1FxuGHrajMAV4WWhruPD5rAks5qXyZYgaJpZM4JOyav
.

@soullivaneuh
Copy link
Collaborator Author

It s something we cannot do without wrapping the influxdb connection IMHO

So let's wrapping it! 😄

@Algatux
Copy link
Owner

Algatux commented Jul 21, 2016

Let's investigate a litte more first 😸

@Algatux
Copy link
Owner

Algatux commented Jan 25, 2017

@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

@soullivaneuh
Copy link
Collaborator Author

@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...

@Algatux
Copy link
Owner

Algatux commented Feb 3, 2017

@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).

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

No branches or pull requests

2 participants