@Naveen, what is it that you are trying to achieve? It is hard to suggest 
anything based on obscure details below.


If you are writing a new Sink please look at the page below for some guidance:

https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification


BR,

Sid


________________________________
From: Naveenkumar Panchappanavar <[email protected]>
Sent: Tuesday, December 06, 2016 2:53 AM
To: [email protected]
Subject: adding functionality to transfer metrics data to another external file

Hi Team,
I have written some code in emitMetricsJson method of  
AbstractTimelineMetricsSink.java file ,for sending the metric data to another 
external file but when i am seeing the file the contents are itself not coming 
in this file and this AbstractTimelineMetricsSink file is there in 
ambari-metrics-common sub module of ambari-metrics module of ambari source code 
project.

and addition of this code is to see the hadoop level metricses.

can any help regarding this.


Regards
Naveen

Reply via email to