Package

kamon

status

Permalink

package status

Visibility
  1. Public
  2. All

Type Members

  1. case class Environment(host: String, service: String, instance: String, incarnation: String, tags: TagSet) extends Product with Serializable

    Permalink

    Describes the conditions on which the instrumented application is running.

    Describes the conditions on which the instrumented application is running. This information is typically used by reporter modules to enrich the data before it is sent to external systems. Kamon will always try to create an appropriate Environment instance based on the details found on the "kamon.environment" configuration settings and then exposed through an instance of this class.

    Starting from a service name, Kamon will try to figure out how to create the Environment instance using:

    • The "kamon.environment.host" setting as the hostname where this application is running. If the value "auto" (default) is present, Kamon will try to resolve the hostname automatically and use it.
    • The "kamon.environment.instance" setting as the name of the this instance. Typically there will be several JVMs running the exact same service code on different hosts and even though they should share the same "service" name, each one should have its own identifier. If the value "auto" (default) is present, Kamon will generate an instance name with the pattern "service@host".
    • The "kamon.environment.tags" are additional key/value pairs with information about the conditions on which this service is running. They will typically be used to include things like the Datacenter name or region, software versions and so on.

    Finally, the incarnation is a randomly generated string that uniquely identifies this JVM. The incarnation value remains the same even after Kamon gets reconfigured and its host, service, instance or tags are changed.

  2. class Status extends AnyRef

    Permalink

    Exposes Kamon components' status information.

    Exposes Kamon components' status information. This is meant to be used for informational and debugging purposes and by no means should replace the use of reporters to extract information from Kamon.

Value Members

  1. object BuildInfo extends Product with Serializable

    Permalink

    This object was generated by sbt-buildinfo.

  2. object Environment extends Serializable

    Permalink
  3. object InstrumentationStatus

    Permalink

    This object works as a bridge between Kamon and Kanela to gather information about instrumentation modules.

    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.

  4. object Status

    Permalink

Ungrouped