[ 
https://issues.apache.org/jira/browse/CHUKWA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated CHUKWA-557:
-----------------------------

    Description: 
Metrics emited by Chukwa Agent through MetricsContext is structured as:

contextName: chukwaHttpSender
recordName: chukwaHttpSender

The same context is repeated twice in the naming hierarchy.

Ideally, the structure should be:

contextName: chukwaAgent
recordName: httpSender

Therefore, the metrics can be collected in chukwa table, column family: 
agent_httpSender.  In sequence file, it will be chukwa data type directory, and 
hashmap looks like:

{noformat}
{ "contextName":"chukwaAgent","recordName":"httpSender",...}
{noformat}

  was:
Metrics emited by Chukwa Agent through MetricsContext is structured as:

contextName: chukwaHttpSender
recordName: chukwaHttpSender

The same context is repeated twice in the naming hierarchy.

Ideally, the structure should be:

contextName: agent
recordName: httpSender

Therefore, the metrics can be collected in chukwa table, column family: 
agent_httpSender.  In sequence file, it will be chukwa data type directory, and 
hashmap looks like:

{noformat}
{ "contextName":"agent","recordName":"httpSender",...}
{noformat}

        Summary: Make differentiation between recordName and contextName and 
clean up chukwa metrics  (was: Make differentiation between recordName and 
contextName)

Chukwa Metrics also needs a cleaner parser.

> Make differentiation between recordName and contextName and clean up chukwa 
> metrics
> -----------------------------------------------------------------------------------
>
>                 Key: CHUKWA-557
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-557
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: data collection
>         Environment: Java 6, MacOSX 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> Metrics emited by Chukwa Agent through MetricsContext is structured as:
> contextName: chukwaHttpSender
> recordName: chukwaHttpSender
> The same context is repeated twice in the naming hierarchy.
> Ideally, the structure should be:
> contextName: chukwaAgent
> recordName: httpSender
> Therefore, the metrics can be collected in chukwa table, column family: 
> agent_httpSender.  In sequence file, it will be chukwa data type directory, 
> and hashmap looks like:
> {noformat}
> { "contextName":"chukwaAgent","recordName":"httpSender",...}
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to