This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push: new ac25406 [Doc][DevGuide][TSStatSync] Fixing documentation for SUM and COUNT types ac25406 is described below commit ac254062d3c3e21475a1ae20b4cd685845f416b8 Author: Saurav Kumar <2020sau...@gmail.com> AuthorDate: Fri Mar 27 13:32:16 2020 -0700 [Doc][DevGuide][TSStatSync] Fixing documentation for SUM and COUNT types (cherry picked from commit af6645a85b346eff465eb187645476e8efdb8f1b) --- doc/developer-guide/api/types/TSStatSync.en.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/developer-guide/api/types/TSStatSync.en.rst b/doc/developer-guide/api/types/TSStatSync.en.rst index f7867ae..0289443 100644 --- a/doc/developer-guide/api/types/TSStatSync.en.rst +++ b/doc/developer-guide/api/types/TSStatSync.en.rst @@ -35,11 +35,11 @@ Enumeration Members .. c:member:: TSStatSync TS_STAT_SYNC_SUM - Values should add be summed. + This stat sync type should be used for gauge metrics (i.e can increase or decrease with time). It may be manipulated using TSStatIntIncrement, TSStatIntDecrement, TSStatIntSet. E.g for counting number of available origin-servers or number of active threads. .. c:member:: TSStatSync TS_STAT_SYNC_COUNT - Values should be added together. + This stat sync type should be used for counter metrics (i.e it should only increase with time). It should only be manipulated using TSStatIntIncrement. E.g for tracking call counts or uptime. .. c:member:: TSStatSync TS_STAT_SYNC_AVG