diff options
author | 2017-02-07 21:28:47 +0000 | |
---|---|---|
committer | 2017-02-07 21:28:47 +0000 | |
commit | fa0abe747327b7dda0b2566f45dcea649f26fb0b (patch) | |
tree | d18a3f6309367faab920ee3b7567cc051a7d09b7 /middleware/proxy/README.md | |
parent | dbe1b2510d609bf37b0874f0aafa91e982cdc5c2 (diff) | |
download | coredns-fa0abe747327b7dda0b2566f45dcea649f26fb0b.tar.gz coredns-fa0abe747327b7dda0b2566f45dcea649f26fb0b.tar.zst coredns-fa0abe747327b7dda0b2566f45dcea649f26fb0b.zip |
middleware/proxy: sane(r) metrics
Add proxy_proto and re-instate proto to be the protocol of the incoming
query ("tcp" or "udp").
Diffstat (limited to 'middleware/proxy/README.md')
-rw-r--r-- | middleware/proxy/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/middleware/proxy/README.md b/middleware/proxy/README.md index 20fbef720..56469cb74 100644 --- a/middleware/proxy/README.md +++ b/middleware/proxy/README.md @@ -87,10 +87,10 @@ example.org. 1799 IN SOA sns.dns.icann.org. noc.dns.icann.org. 2016110711 7200 If monitoring is enabled (via the *prometheus* directive) then the following metric is exported: -* coredns_proxy_request_count_total{proto, from} +* coredns_proxy_request_count_total{proto, proxy_proto, from} -Where `proto` is the protocol used (`dns`, or `https_google`) and `from` is **FROM** specified in -the config. +Where `proxy_proto` is the protocol used (`dns`, or `https_google`) and `from` is **FROM** specified in +the config, `proto` is the protocol used by the incoming query ("tcp" or "udp"). ## Examples |