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

Masatake Iwasaki commented on HADOOP-12538:
-------------------------------------------

I added 001 which addresses

* replacing whitespace in tag values with "_"
* adding {{tags_kv_separator}} option to specify key value separator for tags
* adding {{tags_add_all}} option to specify add or not all tags

I set the default values of {{tags_kv_separator}} and {{tags_add_all}} as it 
retain current behaviour.

If {{tags_add_all}} is set to false, GraphiteSink only uses tags provided by 
{{MsInfo}} which provides basic information such as hostname and process name.

> Fix issues of metric path emmitted by GraphiteSink
> --------------------------------------------------
>
>                 Key: HADOOP-12538
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12538
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HADOOP-12538.001.patch
>
>
> GraphiteSink uses tag values as part of metric path using the format like 
> "...tag1=value1.tag2=value..." but the "=" is not allowed by newer version of 
> Graphite. I addition, there are tag values containing white spaces.



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

Reply via email to