[
https://issues.apache.org/jira/browse/TS-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071713#comment-15071713
]
James Peach commented on TS-3830:
---------------------------------
Yup, TS-4099 does not require custom metrics to be registered in
{{RecordsConfig.cc}}.
> Metrics created via stats.config.xml should not need to be registered in
> RecordsConfig.cc
> -----------------------------------------------------------------------------------------
>
> Key: TS-3830
> URL: https://issues.apache.org/jira/browse/TS-3830
> Project: Traffic Server
> Issue Type: Bug
> Components: Metrics
> Reporter: Leif Hedstrom
> Assignee: James Peach
> Fix For: sometime
>
>
> It seems superfluous, and very inflexible, to require the calculated metrics
> in stats.config.xml to also need to be registered in RecordsConfig.cc. I
> think that should just be "automatic", leaving RecordsConfig.cc with only
> configurations. If there are metrics in RecordsConfig.cc which are not
> calculated via stats.config.xml, they should be registered in other
> submodules, like we generally do for everything else.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)