Metrics not reported to graphite
				
					Posted by 
Jack Huang-2 on 
					
					URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Metrics-not-reported-to-graphite-tp8854.html
					
					
Hi all,
Specifically, I have the following config/code in my project
metrics.reporters: graphite
metrics.reporter.graphite.class: org.apache.flink.metrics.graphite.GraphiteReporter
metrics.reporter.graphite.host: node12
metrics.reporter.graphite.port: 2003
events.filter(new RichFilterFunction[Event]() {
    lazy val incomingCounter = getRuntimeContext.getMetricGroup.counter("event.incoming")
    lazy val downsampledCounter = getRuntimeContext.getMetricGroup.counter("event.downsampled")
    def filter(event:Event):Boolean = {
        incomingCounter.inc
        if(!event.bid_id.startsWith("0")) {
            return false;
        }
        downsampledCounter.inc
        return true;
    }
})
However I don't see anything on my graphite server. What am I missing?
Thanks,
Jack