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

Joe Smith commented on AURORA-1282:
-----------------------------------

Okay, I was really blind- the [warning is fired when the stat name _is not 
pre-normalized_|https://github.com/twitter/commons/blob/afbca0b5ded2d6cf2d918bd0d7c85e43dc9919cf/src/java/com/twitter/common/stats/Stats.java#L70].

This does not cause any change in behavior, only squelches the logging noise. I 
think it's still valuable to warn within the library, since it's giving a heads 
up that the stats name may not be what the user expects.

> twitter.common.stats.Stats warns about exported metric names
> ------------------------------------------------------------
>
>                 Key: AURORA-1282
>                 URL: https://issues.apache.org/jira/browse/AURORA-1282
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Stephan Erb
>            Assignee: Joe Smith
>            Priority: Minor
>
> The Aurora log file gets spammed with lots of warnings for each service/job: 
> {code}
> W0417 11:10:06.046 THREAD159 com.twitter.common.stats.Stats.validateName: 
> Invalid stat name sla_testcluster/test/myservice_mttr_nonprod_ms exported as 
> sla_testcluster_test_myservice_mttr_nonprod_ms
> {code}
> Any proposals how we might get rid of them or silence them?



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

Reply via email to