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

ASF subversion and git services commented on TS-4099:
-----------------------------------------------------

Commit b547b651b662af16f6866d524b7661176e2b2e92 in trafficserver's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=b547b65 ]

TS-4099: add automatic metrics namespace management

Rather than hardcoding the set of metrics namespace prefixes, poll
it at runtime. We keep polling until the namespace converges and
periodically thereafter to account for metrics created by plugins.


> replace XML statistics with Lua
> -------------------------------
>
>                 Key: TS-4099
>                 URL: https://issues.apache.org/jira/browse/TS-4099
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Lua, Manager, Metrics
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 6.2.0
>
>
> The custom metrics XML format is undocumented and difficult to use and 
> extend. Since we plan to use Lua for configuration programmability, lets make 
> a start by replacing this subsystem with Lua.
> It turns out that Lua is mostly more readable and easier to understand. 
> Performance is roughly similar.
> Example syntax:
> {code}
> float 'proxy.node.user_agent_total_bytes_avg_10s' [[
>   local self = ...
>   return interval_delta_of_10s(self, function()
>     return proxy.node.user_agent_total_bytes
>   end)
> ]]
> counter 'proxy.node.origin_server_total_bytes' [[
>   return proxy.node.http.origin_server_total_request_bytes +
>     proxy.node.http.origin_server_total_response_bytes +
>     proxy.node.http.parent_proxy_total_request_bytes +
>     proxy.node.http.parent_proxy_total_response_bytes
> ]]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to