This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new 113567f Fixes the cache_total_hits to be correct
113567f is described below
commit 113567fe8dabae34ec7b03a8288b7e459fb12322
Author: Leif Hedstrom <[email protected]>
AuthorDate: Mon Jun 25 09:58:40 2018 -0600
Fixes the cache_total_hits to be correct
(cherry picked from commit 2d76d6421c14d343d5ff36733d74da238e9c3f22)
---
mgmt/DerivativeMetrics.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mgmt/DerivativeMetrics.cc b/mgmt/DerivativeMetrics.cc
index 4a67bf3..e0a4259 100644
--- a/mgmt/DerivativeMetrics.cc
+++ b/mgmt/DerivativeMetrics.cc
@@ -62,8 +62,8 @@ static const std::vector<DerivativeSum> sum_metrics = {
// Total requests which are cache hits
{"proxy.process.cache_total_hits",
RECD_COUNTER,
- {"proxy.process.http.cache_hit_fresh",
"proxy.process.http.cache_hit_mem_fresh",
"proxy.process.http.cache_hit_revalidated",
- "proxy.process.http.cache_hit_ims",
"proxy.process.http.cache_hit_stale_served"}},
+ {"proxy.process.http.cache_hit_fresh",
"proxy.process.http.cache_hit_revalidated", "proxy.process.http.cache_hit_ims",
+ "proxy.process.http.cache_hit_stale_served"}},
// Total requests which are cache misses
{"proxy.process.cache_total_misses",
RECD_COUNTER,