Hi rania, Through the following REST APIs, you can get the vertex metrics(chained operator).
GET http://localhost:8081/jobs/<job_id>/vertices/<vertex_id> Note that vertex_id can be accessed from GET http://localhost:8081/jobs/<jobID> However, there is no interface for getting operator-level metrics. But I was planning to add such interface, you can follow the ticket FLINK-33230[1] [1] [FLINK-33230] Support Expanding ExecutionGraph to StreamGraph in Web UI - ASF JIRA (apache.org)<https://issues.apache.org/jira/browse/FLINK-33230> Best, Yu Chen ________________________________ 发件人: rania duni <[email protected]> 发送时间: 2023年11月27日 0:25 收件人: Yu Chen <[email protected]> 主题: Re: Operator ids Thank you for answering! I want the operator ids to get the metric “records Out” in case data are split in a task. I develop, for my thesis, a scaling algorithm, so I needed this metric. 26 Νοε 2023, 3:01 μμ, ο χρήστης «Yu Chen <[email protected]>» έγραψε: Hi rania, If you means the Job Vertex ID of the JobGraph, you can try this: http://localhost:8081/jobs/<jobID> Best, Yu Chen ________________________________ 发件人: Zhanghao Chen <[email protected]> 发送时间: 2023年11月26日 11:02 收件人: rania duni <[email protected]>; [email protected] <[email protected]> 主题: Re: Operator ids It is not supported yet. Curious why do you need to get the operator IDs? They are usually only used internally. Best, Zhanghao Chen ________________________________ From: rania duni <[email protected]> Sent: Saturday, November 25, 2023 20:44 To: [email protected] <[email protected]> Subject: Operator ids Hello! I would like to know how can I get the operator ids of a running job. I know how can I get the task ids but I want the operator ids! I couldn’t find something to the REST API docs. Thank you.
