Fetch Metrics

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fetch Metrics

Suvimal Yashraj
Hello,
I'm new to apache flink and I want to extract the already present metrics in flink which is stored on the server of the currently running jobs like bytes transferred, cpu usage, duration, etc.
I'm finding it difficult so as to how to connect my java program to the server and fetch these details.
If there's any solution to this problem please provide.

Thank You.

Regards,
Suvimal

Reply | Threaded
Open this post in threaded view
|

Re: Fetch Metrics

Amit Jain
Hi Suvimal,

You may use REST API connecting to Job Manager to retrieve the stored
metrics. Have a look at this link https://ci.apache.org/
projects/flink/flink-docs-release-1.4/monitoring/metrics.html#rest-api-
integration

--
Thanks,
Amit

On Mon, Feb 5, 2018 at 2:47 PM, Suvimal Yashraj <
[hidden email]> wrote:

> Hello,
> I'm new to apache flink and I want to extract the already present metrics
> in flink which is stored on the server of the currently running jobs like
> bytes transferred, cpu usage, duration, etc.
> I'm finding it difficult so as to how to connect my java program to the
> server and fetch these details.
> If there's any solution to this problem please provide.
>
> Thank You.
>
> Regards,
> Suvimal
>
>