Class RemoteInstruments$

java.lang.Object
org.apache.pekko.remote.artery.RemoteInstruments$

public class RemoteInstruments$ extends Object
INTERNAL API
  • Field Details

    • MODULE$

      public static final RemoteInstruments$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • RemoteInstruments$

      public RemoteInstruments$()
  • Method Details

    • apply

      public org.apache.pekko.remote.artery.RemoteInstruments apply(ExtendedActorSystem system)
    • combineKeyLength

      public int combineKeyLength(byte k, int l)
    • getKey

      public byte getKey(int kl)
    • getLength

      public int getLength(int kl)
    • create

      public scala.collection.immutable.Vector<RemoteInstrument> create(ExtendedActorSystem system, LoggingAdapter log)

      Opentelemetry Java Instrumentation relies on this method so avoid changing it. The agent appends its own RemoteInstrument to the returned vector, which is what lets it propagate context without users having to add it to pekko.remote.artery.advanced.instruments. See https://github.com/apache/pekko/issues/3472