Add vts-sum-key config flag

This commit is contained in:
Nick Novitski 2018-04-16 18:38:43 -07:00
parent 085263f318
commit 8886b8a50e
4 changed files with 16 additions and 1 deletions

View file

@ -46,6 +46,7 @@ The following table shows a configuration option's name, type, and the default v
|[ignore-invalid-headers](#ignore-invalid-headers)|bool|true|
|[enable-vts-status](#enable-vts-status)|bool|false|
|[vts-status-zone-size](#vts-status-zone-size)|string|"10m"|
|[vts-sum-key](#vts-sum-key)|string|"*"|
|[vts-default-filter-key](#vts-default-filter-key)|string|"$geoip_country_code country::*"|
|[retry-non-idempotent](#retry-non-idempotent)|bool|"false"|
|[error-log-level](#error-log-level)|string|"notice"|
@ -254,6 +255,13 @@ Vts config on http level enables the keys by user defined variable. The key is a
_References:_
- https://github.com/vozlt/nginx-module-vts#vhost_traffic_status_filter_by_set_key
## vts-sum-key
For metrics keyed (or when using Prometheus, labeled) by server zone, this value is used to indicate metrics for all server zones combined. Default value is *
_References:_
- https://github.com/vozlt/nginx-module-vts#vhost_traffic_status_display_sum_key
## retry-non-idempotent
Since 1.9.13 NGINX will not retry non-idempotent requests (POST, LOCK, PATCH) in case of an error in the upstream server. The previous behavior can be restored using the value "true".