Skip to content

Add request counters for hosts and pools in example #5

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dant4z
Copy link

@dant4z dant4z commented Mar 3, 2014

Add was tried to add request counters in your example.
But it is very uncomfortably and i think that requests counters need to be stored in pool table and incremented inside the module.

Thanks.

dant4z added 2 commits March 3, 2014 10:02
Store host and pool tables in ngx.ctx for incrementing requests counters in log_by_lua phase
Creating shared dictionaries for stats and icrement counters in log_by_lua phase.
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.

1 participant