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

Redis as dependency (predis && snc/RedisBundle), in order to collects statistics #39

Merged
merged 5 commits into from
Jun 5, 2013

Conversation

liuggio
Copy link
Member

@liuggio liuggio commented Jun 4, 2013

This PR is intended to give a sort of statistics #32.

simple solution, when a controller is called, a listener stores on redis some statistics:

https://github.com/liuggio/badge-poser/blob/9eadf0617c212e2a58a5a27ffb3fdbac92caee05/src/PUGX/BadgeBundle/Service/Statistic/PersisterInterface.php

/**
* Class StatisticListener
* This class is intended to collect and store usage statistic on Redis.
* @todo decouple from redis
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops remove this

@leopro
Copy link
Member

leopro commented Jun 4, 2013

👍
maybe later we can try https://github.com/PUGX/aop

@agiuliano
Copy link
Member

👍
@leopro 👍

@liuggio liuggio mentioned this pull request Jun 4, 2013
@liuggio
Copy link
Member Author

liuggio commented Jun 4, 2013

maybe this'd need a separated bundle...

@leopro
Copy link
Member

leopro commented Jun 4, 2013

@liuggio what?

liuggio added a commit that referenced this pull request Jun 5, 2013
[WIP] redis as dependency (predis && snc/RedisBundle), in order to collects statistics
@liuggio liuggio merged commit d79d2c3 into PUGX:master Jun 5, 2013
@liuggio liuggio mentioned this pull request Jun 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants