You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/01/13 17:33:33 UTC
[2/3] trafficserver git commit: TS-4099: fix HTTP counter metric data
types
TS-4099: fix HTTP counter metric data types
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f9c717f1
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f9c717f1
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f9c717f1
Branch: refs/heads/master
Commit: f9c717f1ffe289fa3a8e60e0e18bfe3e8ed5b1b8
Parents: 980c525
Author: James Peach <jp...@apache.org>
Authored: Wed Dec 16 22:07:38 2015 -0800
Committer: James Peach <jp...@apache.org>
Committed: Wed Jan 13 08:22:49 2016 -0800
----------------------------------------------------------------------
proxy/http/HttpConfig.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f9c717f1/proxy/http/HttpConfig.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 5a94fcb..96bcaee 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -596,10 +596,10 @@ register_stat_callbacks()
RecRegisterRawStat(http_rsb, RECT_PROCESS, "proxy.process.http.background_fill_bytes_completed_stat", RECD_INT, RECP_PERSISTENT,
(int)http_background_fill_bytes_completed_stat, RecRawStatSyncSum);
- RecRegisterRawStat(http_rsb, RECT_PROCESS, "proxy.process.http.cache_write_errors", RECD_INT, RECP_PERSISTENT,
+ RecRegisterRawStat(http_rsb, RECT_PROCESS, "proxy.process.http.cache_write_errors", RECD_COUNTER, RECP_PERSISTENT,
(int)http_cache_write_errors, RecRawStatSyncSum);
- RecRegisterRawStat(http_rsb, RECT_PROCESS, "proxy.process.http.cache_read_errors", RECD_INT, RECP_PERSISTENT,
+ RecRegisterRawStat(http_rsb, RECT_PROCESS, "proxy.process.http.cache_read_errors", RECD_COUNTER, RECP_PERSISTENT,
(int)http_cache_read_errors, RecRawStatSyncSum);
////////////////////////////////////////////////////////////////////////////////