InstrumentationStatus

This object works as a bridge between Kamon and Kanela to gather information about instrumentation modules. When instrumentation is enabled, it should be possible to access the instrumentation registry from the System ClassLoader and determine what modules have been detected and activated.

Since this data is coming from a different ClassLoader and possible not present when Kamon is started, we are sharing all instrumentation information between Kanela and Kamon using JDK-only types.

class Object
trait Matchable
class Any

Value members

Concrete methods

def create(warnIfFailed: Boolean): Instrumentation

Tries to fetch the current instrumentation information from Kanela and assemble a status instance. Since the status information will be present on the System ClassLoader only after the Kanela agent has been activated (it might be attached at runtime after this method is called), we will try to load the registry from the System ClassLoader every time this method is called and then, try to parse its contents.

Tries to fetch the current instrumentation information from Kanela and assemble a status instance. Since the status information will be present on the System ClassLoader only after the Kanela agent has been activated (it might be attached at runtime after this method is called), we will try to load the registry from the System ClassLoader every time this method is called and then, try to parse its contents.