Skip to content

Add request counters for hosts and pools in example#5

Open
dant4z wants to merge 2 commits into
hamishforbes:masterfrom
dant4z:master
Open

Add request counters for hosts and pools in example#5
dant4z wants to merge 2 commits into
hamishforbes:masterfrom
dant4z:master

Conversation

@dant4z

@dant4z dant4z commented Mar 3, 2014

Copy link
Copy Markdown

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