Hi Vijay,

Your steps look correct to me.
Perhaps you can double check that the graphite port you are sending is
correct? THe default carbon port is 2003 and if you use the aggregator it
is 2023.

You should be able to see in both flink jobmanager and taskmanager that the
metrics have been initialized with the config you have pasted.

Regards
,
Nikola Hrusov


On Mon, Aug 24, 2020 at 5:00 AM Vijayendra Yadav <contact....@gmail.com>
wrote:

> Hi Team,
>
> I am trying  to export Flink stream default metrics using Graphite, but I
> can't find it in the Graphite metrics console.  Could you confirm the steps
> below are correct?
>
> *1) Updated flink-conf.yaml*
>
> metrics.reporter.grph.factory.class:
> org.apache.flink.metrics.graphite.GraphiteReporterFactory
> metrics.reporter.grph.host: port
> metrics.reporter.grph.port: 9109
> metrics.reporter.grph.protocol: TCP
> metrics.reporter.grph.interval: 30 SECONDS
>
> 2) Added Graphite jar in plugin folder :
>
> ll */usr/lib/flink/plugins/metric/*
>  *flink-metrics-graphite-1.10.0.jar*
>
> 3) Looking metrics in graphite server:
>
> http://port:8080/metrics <http://10.108.58.63:8080/metrics>
>
> Note: No code change is done.
>
> Regards,
> Vijay
>
>
>

Reply via email to