You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/17 16:53:20 UTC
[jira] [Commented] (TS-4193) Enabling
proxy.config.disable_configuration_modification can "lose" metrics via e.g.
stats_over_http
[ https://issues.apache.org/jira/browse/TS-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424887#comment-15424887 ]
Bryan Call commented on TS-4193:
--------------------------------
I will verify to see if it was fixed.
> Enabling proxy.config.disable_configuration_modification can "lose" metrics via e.g. stats_over_http
> ----------------------------------------------------------------------------------------------------
>
> Key: TS-4193
> URL: https://issues.apache.org/jira/browse/TS-4193
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager, Metrics, Plugins
> Reporter: Leif Hedstrom
> Assignee: Bryan Call
> Priority: Blocker
> Fix For: 7.0.0
>
>
> With normal configs, using stats_over_http, I get e.g.
> {code}
> loki (10:50) 339/0 $ curl -s http://loki.ogre.com/_bazinga | grep proxy.node.http.user_agent_total
> "proxy.node.http.user_agent_total_request_bytes": "789",
> "proxy.node.http.user_agent_total_response_bytes": "612070",
> {code}
> However, if I disable config write updates (proxy.config.disable_configuration_modification=1), these metrics are no longer producing values via stats_over_http:
> {code}
> loki (10:52) 341/0 $ curl -s http://loki.ogre.com/_bazinga | grep proxy.node.http.user_agent_total
> "proxy.node.http.user_agent_total_request_bytes": "0",
> "proxy.node.http.user_agent_total_response_bytes": "0",
> {code}
> What's surprising is the according to traffic_ctl, the metrics are fine even with the new config enabled:
> {code}
> loki (10:52) 341/0 $ /opt/ats/bin/traffic_ctl metric match proxy.node.http.user_agent_total
> proxy.node.http.user_agent_total_request_bytes 1948
> proxy.node.http.user_agent_total_response_bytes 1699917
> {code}
> Maybe these changes interfere with how the stats_over_http plugin uses the lib records iterator?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)