Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Liu Lantao <liulantao@gmail.com>
  • Loading branch information
Lax committed May 16, 2018
1 parent 13e8083 commit a0956a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Then import accounting dashboard from `[samples/accounting-dashboard-grafana.js
2018/05/14 14:18:18 [notice] 5#0: pid:5|from:1526278638|to:1526278659|accounting_id:INDEX|requests:4849|bytes_in:421863|bytes_out:1857167|latency_ms:0|upstream_latency_ms:0|301:4849
# Stream
2018/05/14 14:18:22 [notice] 5#0: pid:5|from:1526278642|to:1526278659|accounting_id:TCP_PROXY_ECHO|session:9723|bytes_in:860343|bytes_out:2587967|latency_ms:4133|upstream_latency_ms:3810|200:9723
2018/05/14 14:18:22 [notice] 5#0: pid:5|from:1526278642|to:1526278659|accounting_id:TCP_PROXY_ECHO|sessions:9723|bytes_in:860343|bytes_out:2587967|latency_ms:4133|upstream_latency_ms:3810|200:9723
```

Each line of the log output contains `metrics` for a particular `accounting_id`,
Expand Down
2 changes: 1 addition & 1 deletion src/stream/ngx_stream_accounting_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "ngx_stream_accounting_module.h"


static char entry_n[] = "session";
static char entry_n[] = "sessions";
static u_char *ngx_stream_accounting_title = (u_char *)"NgxAccounting";

static ngx_int_t ngx_stream_accounting_init(ngx_conf_t *cf);
Expand Down

0 comments on commit a0956a8

Please sign in to comment.