Package org.apache.pekko.remote.artery
Class RemoteInstruments$
java.lang.Object
org.apache.pekko.remote.artery.RemoteInstruments$
INTERNAL API
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RemoteInstruments$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.remote.artery.RemoteInstrumentsapply(ExtendedActorSystem system) intcombineKeyLength(byte k, int l) scala.collection.immutable.Vector<RemoteInstrument>create(ExtendedActorSystem system, LoggingAdapter log) Opentelemetry Java Instrumentation relies on this method so avoid changing it.bytegetKey(int kl) intgetLength(int kl)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
RemoteInstruments$
public RemoteInstruments$()
-
-
Method Details
-
apply
-
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
RemoteInstrumentto the returned vector, which is what lets it propagate context without users having to add it topekko.remote.artery.advanced.instruments. See https://github.com/apache/pekko/issues/3472
-