Github user ptgoetz commented on the issue:

    https://github.com/apache/storm/pull/2203
  
    @revans2 (cc @HeartSaVioR ) Regarding metadata, parseable metrics 
names/paths, etc. what do you think of the following approach?
    
    In a nutshell, make everything configurable (with sane defaults), something 
along the lines:
    
    METRICS_V2_PREFIX (String prepended to all metrics paths, replacing 
hard-coded "storm.worker", etc. in current code)
    METRICS_V2_PATH_DELIMITER (String/character used to separate metrics path, 
replaces hard-coded "." in current code.
    METRICS_V2_INVALID_NAME_REGEX (Regex that checks user-supplied metrics 
names for disallowed characters. Would be used to prevent users from 
inadvertently breaking up a path, for example by putting a "." in a metric name 
when that's used as the delimiter.
    
    Does that seem reasonable?


---

Reply via email to