kamon
package kamon
- Alphabetic
- By Inheritance
- kamon
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit final
class
AtomicGetOrElseUpdateOnTrieMap[K, V] extends AnyVal
Workaround to the non thread-safe [scala.collection.concurrent.TrieMap#getOrElseUpdate()] method.
Workaround to the non thread-safe [scala.collection.concurrent.TrieMap#getOrElseUpdate()] method. More details on why this is necessary can be found at https://issues.scala-lang.org/browse/SI-7943.
-
sealed
trait
ClassLoading extends AnyRef
Exposes APIs for dynamically creating instances and holds the ClassLoader instance to be used by Kamon when looking up resources and classes.
-
trait
Configuration extends AnyRef
Exposes APIs to access and modify Kamon's configuration and to get notified of reconfigure events.
-
trait
ContextPropagation extends AnyRef
Exposes APIs for Context propagation across HTTP and Binary transports.
-
trait
ContextStorage extends AnyRef
Exposes in-process Context storage APIs.
Exposes in-process Context storage APIs. See the ContextStorage companion object for more info on the default storage implementation.
-
trait
CurrentStatus extends AnyRef
Exposes access to the Kamon's current status.
Exposes access to the Kamon's current status. The status information contains details about the internal state of several Kamon components and is exposed for the sole purpose of troubleshooting and debugging issues that might be related to Kamon.
The Status APIs might change between minor versions.
-
trait
Init extends AnyRef
Provides APIs for handling common initialization tasks like starting modules, attaching instrumentation and reconfiguring Kamon.
-
trait
Metrics extends MetricBuilding
Exposes all metric building APIs using a built-in, globally shared metric registry.
-
trait
ModuleManagement extends AnyRef
Handles the lifecycle of all modules known by Kamon.
Handles the lifecycle of all modules known by Kamon. The most common implementations of modules are metrics and span reporters, but modules can be used to encapsulate any process that should be started automatically by Kamon and stopped when all modules are stopped (usually during shutdown).
Modules can be automatically discovered from the kamon.modules configuration path, using the following schema:
kamon.modules { module-name { enabled = true name = "My Module Name" description = "A module description" factory = "com.example.MyModuleFactory"
// For Metric Reporters only: metric-filter { includes = [] excludes = [] }
// For Periodic Collectors only: interval = 10 seconds } }
Take a look at the reference.conf file for more details.
-
trait
Tracing extends AnyRef
Exposes the Tracing APIs using a built-in, globally shared tracer.
-
trait
Utilities extends AnyRef
Base utilities used by other Kamon components.
- implicit final class UtilsOnConfig extends AnyVal
Value Members
- def newScheduledThreadPool(corePoolSize: Int, threadFactory: ThreadFactory): ScheduledExecutorService
- def numberedThreadFactory(name: String, daemon: Boolean = false): ThreadFactory
-
def
threadFactory(name: String, daemon: Boolean = false): ThreadFactory
Creates a thread factory that assigns the specified name to all created Threads.
- object ClassLoading extends ClassLoading
- object Configuration
- object ContextPropagation
- object ContextStorage
- object Kamon extends Configuration with Utilities with Metrics with Tracing with ModuleManagement with ContextPropagation with ContextStorage with CurrentStatus with Init