Akka streams: how to get stream names in metrics reported by kamon-akka

I am trying to configure some tools for Akka threads. Got it working, but although I named all my streams that are part of the streams, I still get these names in metrics: flow-0-0-unknown-operation

A simple example of what I'm trying to do:

 val myflow = Flow[String].named("myflow").map(println) Source.via(myflow).to(Sink.ignore).run() 

Basically, I want to see the metrics for the Actor that are created for "myflow" with its own name.

Is it possible? Did I miss something?

+5
source share

Source: https://habr.com/ru/post/1260298/


All Articles