Your best bet is to create a custom reporter that does this calculation.
You could either wrap the reporter, subclass is, or fork it.
In any case,
https://github.com/apache/flink/tree/master/flink-metrics/flink-metrics-datadog
should be a good starting point.
On 01/02/2022 13:26, Jessy Ping wrote:
Hi Team,
We are using datadog and its http reporter( packaged in flink image)
for sending metrics from flink application. We do have a requirement
for setting tags with values calculated at runtime for the custom
metrics emitted from Flink. Currently, it is impossible to assign tags
at runtime. Is there a work arround for the same ?
Thanks
Jessy