Skip to content

Support Akka/Pekko Cluster #10104

@zackman0010

Description

@zackman0010

Is your feature request related to a problem? Please describe.

Akka (and its fork Pekko) has the concept of Cluster, or communication between multiple nodes of the same service. OTel is already capable of message propagation through Akka Actors, but the propagation is broken if the message passes to a different node through Akka Remoting, which is what Cluster uses under-the-hood.

Describe the solution you'd like

I'd like to see auto-instrumentation support Akka Remoting.

Describe alternatives you've considered

No response

Additional context

Akka Remoting got a big overhaul starting in Akka 2.6, so 2.5 and lower would either need a separate instrumentation or not be instrumented. As Pekko was forked off 2.6, the Akka 2.6 instrumentation can be copied for Pekko, just renaming the classes.

Also, Kamon's auto-instrumentation agent already supports Akka Remoting, both 2.5 and 2.6. Their code is also open source under the Apache license, so it might be a good starting point to see how they instrumented Remoting to use it as an inspiration for how to instrument it in OTel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or requestnew instrumentationstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions