[ 
https://issues.apache.org/jira/browse/TS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838527#action_12838527
 ] 

Raghav Jeyaraman commented on TS-157:
-------------------------------------

In addition to collecting stats, the stat collector will listen on a command 
port. 
Users can telnet to the port and get stats by the stat name.
Having just one map<int, {string name, long collected_count, ...} > will make 
this a little harder to implement. 

If we need to implement this functionality efficiently, we will either collect 
stats into map<string, long> or 
maintain a map<string, int> to map stat name to stat num and collect stats into 
map<int, long>

Thanks,
--raghav

> Improve stats API
> -----------------
>
>                 Key: TS-157
>                 URL: https://issues.apache.org/jira/browse/TS-157
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Stats
>            Reporter: Raghav Jeyaraman
>            Assignee: Raghav Jeyaraman
>
> As it stands today, traffic server limits the number of stats that can be 
> registered to 250. 
> The code must be changed to allow a large number of stats (100000)  to be 
> tracked.
> The API for adding coupled stats is cumbersome to use and as a result, has 
> very few users. Current stats API must be cleaned up or gotten rid of.
> Thanks,
> --raghav

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to