I don't think we should jump to an external solution. We should add support in our API, out at least extend with an optional set of additional calls.
We should look at Flink's API and implementation as reference. Also we should look at Prometheus. In both of these, you usually define the keys when creating the counter, and then provide the values when submitting the new value (or increment call). I'll share some links soon. On Mon, Dec 6, 2021, 4:45 AM Ning Wang <[email protected]> wrote: > Hello, > > Nick and I have been talking about supporting tags in the Heron metrics > library. I was thinking about something like DataDog so you just need to > provide a list of tags in the `incr()` functions. However, one tricky thing > about Heron's library is that aggregation happens in the library. > > I am curious if anyone has used DataDog (or StatsD) with Heron and how do > you hook it up. For DataDog, I think the aggregation happens in the agent > instead of the library. > > Thanks in advance. > --ning >
