Instrumentation for akka persist + cassandra

Hi,

We’re using opentracing on the akka actor side and prometheus on the cassandra server side. Opentracing can only measure up to the persist callback. We’d like to see much more granularity such as the queueing and dispatching of the persist request and the waiting time for the cassandra response. Is there a way to do this?

In the akka persistence cassandra there are the configs metrics-enabled and jmx-reporting-enabled. Is this on the client side? Can we start an agent on the node of the persistent actor to get the metrics?

Lightbend Telemetry has support for some of this.