Object

kamon

Kamon

Related Doc: package kamon

Permalink

object Kamon extends Configuration with Utilities with Metrics with Tracing with ModuleManagement with ContextPropagation with ContextStorage with CurrentStatus with Init

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Kamon
  2. Init
  3. CurrentStatus
  4. ContextStorage
  5. ContextPropagation
  6. ModuleManagement
  7. Tracing
  8. Metrics
  9. MetricBuilding
  10. Utilities
  11. Configuration
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _metricRegistry: MetricRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    Metrics
  5. val _moduleRegistry: ModuleRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleManagement
  6. def addReporter(name: String, description: String, reporter: MetricReporter, metricFilter: Filter): Registration

    Permalink
    Definition Classes
    ModuleManagement
  7. def addReporter(name: String, reporter: MetricReporter, metricFilter: Filter): Registration

    Permalink
    Definition Classes
    ModuleManagement
  8. def addReporter(name: String, reporter: MetricReporter): Registration

    Permalink
    Definition Classes
    ModuleManagement
  9. def addReporter(name: String, description: String, reporter: SpanReporter): Registration

    Permalink
    Definition Classes
    ModuleManagement
  10. def addReporter(name: String, reporter: SpanReporter): Registration

    Permalink
    Definition Classes
    ModuleManagement
  11. def addScheduledAction(name: String, description: Option[String], collector: ScheduledAction, interval: Duration): Registration

    Permalink
    Definition Classes
    ModuleManagement
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def attachInstrumentation(): Unit

    Permalink

    Tries to attach the Kanela instrumentation agent, if the Kamon Bundle dependency is available on the classpath.

    Tries to attach the Kanela instrumentation agent, if the Kamon Bundle dependency is available on the classpath. If the Status module indicates that instrumentation has been already applied this method will not try to do anything.

    Definition Classes
    Init
  14. def binaryPropagation(channelName: String): Option[Propagation[ByteStreamReader, ByteStreamWriter]]

    Permalink

    Retrieves the binary propagation channel with the supplied name.

    Retrieves the binary propagation channel with the supplied name. Propagation channels are configured on the kamon.propagation.binary configuration section.

    Definition Classes
    ContextPropagation
  15. def clearRegistry(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Metrics
  16. def clientSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    Creates a new SpanBuilder for a Client Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Client Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

    Definition Classes
    Tracing
  17. def clock(): Clock

    Permalink

    Kamon's Clock implementation.

    Kamon's Clock implementation.

    Definition Classes
    Utilities
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def config(): Config

    Permalink

    Retrieve Kamon's current configuration.

    Retrieve Kamon's current configuration.

    Definition Classes
    Configuration
  20. def consumerSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    Creates a new SpanBuilder for a Consumer Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Consumer Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

    Definition Classes
    Tracing
  21. def counter(name: String, description: String, settings: ForValueInstrument): Counter

    Permalink

    Creates or retrieves a Counter-backed metric with the provided settings

    Creates or retrieves a Counter-backed metric with the provided settings

    Definition Classes
    MetricBuilding
  22. def counter(name: String, description: String, unit: MeasurementUnit): Counter

    Permalink

    Creates or retrieves a Counter-backed metric with the provided unit

    Creates or retrieves a Counter-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  23. def counter(name: String, unit: MeasurementUnit): Counter

    Permalink

    Creates or retrieves a Counter-backed metric with the provided unit

    Creates or retrieves a Counter-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  24. def counter(name: String, description: String): Counter

    Permalink

    Creates or retrieves a Counter-backed metric

    Creates or retrieves a Counter-backed metric

    Definition Classes
    MetricBuilding
  25. def counter(name: String): Counter

    Permalink

    Creates or retrieves a Counter-backed metric

    Creates or retrieves a Counter-backed metric

    Definition Classes
    MetricBuilding
  26. def currentContext(): Context

    Permalink

    Returns the current Context on Kamon's Context Storage.

    Returns the current Context on Kamon's Context Storage. As the default behavior, this will return Context.Empty if no other Context has been stored on the calling thread.

    Definition Classes
    ContextStorage
  27. def currentSpan(): Span

    Permalink

    Returns the Span held by the current Context, if any.

    Returns the Span held by the current Context, if any. As the default behavior, this will return Span.Empty if the current Context does not contain a Span.

    Definition Classes
    ContextStorage
  28. def defaultBinaryPropagation(): Propagation[ByteStreamReader, ByteStreamWriter]

    Permalink

    Retrieves the default binary propagation channel.

    Retrieves the default binary propagation channel. Configuration for this channel can be found under the kamon.propagation.binary.default configuration section.

    Definition Classes
    ContextPropagation
  29. def defaultHttpPropagation(): Propagation[HeaderReader, HeaderWriter]

    Permalink

    Retrieves the default HTTP propagation channel.

    Retrieves the default HTTP propagation channel. Configuration for this channel can be found under the kamon.propagation.http.default configuration section.

    Definition Classes
    ContextPropagation
  30. def environment: Environment

    Permalink

    Returns the current enviroment instance constructed by Kamon using the "kamon.environment" settings.

    Returns the current enviroment instance constructed by Kamon using the "kamon.environment" settings.

    Definition Classes
    CurrentStatus
  31. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  33. def filter(configKey: String): Filter

    Permalink

    Creates a new composite Filter by looking up the provided key on Kamon's configuration.

    Creates a new composite Filter by looking up the provided key on Kamon's configuration. All inputs matching any of the include filters and none of the exclude filters will be accepted. The configuration is expected to have the following structure:

    config { includes = [ "some/pattern", "regex:some[0-9]" ] excludes = [ ] }

    By default, the patterns are treated as Glob patterns but users can explicitly configure the pattern type by prefixing the pattern with either "glob:" or "regex:". If any of the elements are missing they will be considered empty.

    Definition Classes
    Utilities
  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def gauge(name: String, description: String, settings: ForValueInstrument): Gauge

    Permalink

    Creates or retrieves a Gauge-backed metric with the provided settings

    Creates or retrieves a Gauge-backed metric with the provided settings

    Definition Classes
    MetricBuilding
  36. def gauge(name: String, description: String, unit: MeasurementUnit): Gauge

    Permalink

    Creates or retrieves a Gauge-backed metric with the provided unit

    Creates or retrieves a Gauge-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  37. def gauge(name: String, unit: MeasurementUnit): Gauge

    Permalink

    Creates or retrieves a Gauge-backed metric with the provided unit

    Creates or retrieves a Gauge-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  38. def gauge(name: String, description: String): Gauge

    Permalink

    Creates or retrieves a Gauge-backed metric

    Creates or retrieves a Gauge-backed metric

    Definition Classes
    MetricBuilding
  39. def gauge(name: String): Gauge

    Permalink

    Creates or retrieves a Gauge-backed metric

    Creates or retrieves a Gauge-backed metric

    Definition Classes
    MetricBuilding
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. def histogram(name: String, description: String, settings: ForDistributionInstrument): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric with the provided settings

    Creates or retrieves a Histogram-backed metric with the provided settings

    Definition Classes
    MetricBuilding
  43. def histogram(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

    Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  44. def histogram(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

    Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  45. def histogram(name: String, description: String, unit: MeasurementUnit): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric with the provided unit

    Creates or retrieves a Histogram-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  46. def histogram(name: String, unit: MeasurementUnit): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric with the provided unit

    Creates or retrieves a Histogram-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  47. def histogram(name: String, description: String): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric

    Creates or retrieves a Histogram-backed metric

    Definition Classes
    MetricBuilding
  48. def histogram(name: String): Histogram

    Permalink

    Creates or retrieves a Histogram-backed metric

    Creates or retrieves a Histogram-backed metric

    Definition Classes
    MetricBuilding
  49. def httpPropagation(channelName: String): Option[Propagation[HeaderReader, HeaderWriter]]

    Permalink

    Retrieves the HTTP propagation channel with the supplied name.

    Retrieves the HTTP propagation channel with the supplied name. Propagation channels are configured on the kamon.propagation.http configuration section.

    Definition Classes
    ContextPropagation
  50. def identifierScheme: Scheme

    Permalink

    Returns the Identifier Scheme currently used by the tracer.

    Returns the Identifier Scheme currently used by the tracer.

    Definition Classes
    Tracing
  51. def init(config: Config): Unit

    Permalink

    Reconfigures Kamon to use the provided configuration and then attempts to attach the instrumentation agent and start all registered modules.

    Reconfigures Kamon to use the provided configuration and then attempts to attach the instrumentation agent and start all registered modules.

    Definition Classes
    Init
  52. def init(): Unit

    Permalink

    Attempts to attach the instrumentation agent and start all registered modules.

    Attempts to attach the instrumentation agent and start all registered modules.

    Definition Classes
    Init
  53. def initWithoutAttaching(config: Config): Unit

    Permalink

    Initializes Kamon without trying to attach the instrumentation agent from the Kamon Bundle.

    Initializes Kamon without trying to attach the instrumentation agent from the Kamon Bundle.

    Definition Classes
    Init
  54. def initWithoutAttaching(): Unit

    Permalink

    Initializes Kamon without trying to attach the instrumentation agent from the Kamon Bundle.

    Initializes Kamon without trying to attach the instrumentation agent from the Kamon Bundle.

    Definition Classes
    Init
  55. def internalSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    Creates a new SpanBuilder for an Internal Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for an Internal Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

    Definition Classes
    Tracing
  56. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  57. def loadModules(): Unit

    Permalink

    Loads modules from Kamon's configuration.

    Loads modules from Kamon's configuration.

    Definition Classes
    ModuleManagement
  58. def moduleRegistry(): ModuleRegistry

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleManagement
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  62. def onReconfigure(hook: (Config) ⇒ Unit): Unit

    Permalink

    Register a reconfigure hook that will be run when the a call to Kamon.reconfigure(config) is performed.

    Register a reconfigure hook that will be run when the a call to Kamon.reconfigure(config) is performed. All registered hooks will run sequentially in the same Thread that calls Kamon.reconfigure(config).

    Definition Classes
    Configuration
  63. def onReconfigure(hook: OnReconfigureHook): Unit

    Permalink

    Register a reconfigure hook that will be run when the a call to Kamon.reconfigure(config) is performed.

    Register a reconfigure hook that will be run when the a call to Kamon.reconfigure(config) is performed. All registered hooks will run sequentially in the same Thread that calls Kamon.reconfigure(config).

    Definition Classes
    Configuration
  64. def producerSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    Creates a new SpanBuilder for a Producer Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Producer Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

    Definition Classes
    Tracing
  65. def rangeSampler(name: String, description: String, settings: ForDistributionInstrument): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided settings

    Creates or retrieves a RangeSampler-backed metric with the provided settings

    Definition Classes
    MetricBuilding
  66. def rangeSampler(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

    Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  67. def rangeSampler(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

    Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  68. def rangeSampler(name: String, description: String, unit: MeasurementUnit, autoUpdateInterval: Duration): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

    Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

    Definition Classes
    MetricBuilding
  69. def rangeSampler(name: String, description: String, unit: MeasurementUnit): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit

    Creates or retrieves a RangeSampler-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  70. def rangeSampler(name: String, unit: MeasurementUnit, autoUpdateInterval: Duration): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

    Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

    Definition Classes
    MetricBuilding
  71. def rangeSampler(name: String, unit: MeasurementUnit): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric with the provided unit

    Creates or retrieves a RangeSampler-backed metric with the provided unit

    Definition Classes
    MetricBuilding
  72. def rangeSampler(name: String, description: String): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric

    Creates or retrieves a RangeSampler-backed metric

    Definition Classes
    MetricBuilding
  73. def rangeSampler(name: String): RangeSampler

    Permalink

    Creates or retrieves a RangeSampler-backed metric

    Creates or retrieves a RangeSampler-backed metric

    Definition Classes
    MetricBuilding
  74. def reconfigure(newConfig: Config): Unit

    Permalink

    Supply a new Config instance to rule Kamon's world.

    Supply a new Config instance to rule Kamon's world.

    Definition Classes
    Configuration
  75. def registry(): MetricRegistry

    Permalink

    Metric registry from which all metric-building APIs will draw instances.

    Metric registry from which all metric-building APIs will draw instances. For more details on the entire set of exposes APIs please refer to kamon.metric.MetricBuilding.

    Attributes
    protected
    Definition Classes
    MetricsMetricBuilding
  76. def runWithContext[T](context: Context)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Context on Kamon's Context Storage.

    Temporarily stores the provided Context on Kamon's Context Storage. The provided Context will be stored before executing the provided function and removed right after it finishes executing.

    Definition Classes
    ContextStorage
    Annotations
    @inline()
  77. def runWithContextEntry[T, K](key: Key[K], value: K)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Context Key on Kamon's Context Storage.

    Temporarily stores the provided Context Key on Kamon's Context Storage. The provided Context key will be added to the current Context and stored before executing the provided function, then removed right after execution finishes.

    Definition Classes
    ContextStorage
  78. def runWithContextTag[T](key: String, value: Long)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Context tag on Kamon's Context Storage.

    Temporarily stores the provided Context tag on Kamon's Context Storage. The provided Context tag will be added to the current Context and stored before executing the provided function, then removed right after execution finishes.

    Definition Classes
    ContextStorage
  79. def runWithContextTag[T](key: String, value: Boolean)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Context tag on Kamon's Context Storage.

    Temporarily stores the provided Context tag on Kamon's Context Storage. The provided Context tag will be added to the current Context and stored before executing the provided function, then removed right after execution finishes.

    Definition Classes
    ContextStorage
  80. def runWithContextTag[T](key: String, value: String)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Context tag on Kamon's Context Storage.

    Temporarily stores the provided Context tag on Kamon's Context Storage. The provided Context tag will be added to the current Context and stored before executing the provided function, then removed right after execution finishes.

    Definition Classes
    ContextStorage
  81. def runWithSpan[T](span: Span, finishSpan: Boolean)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Span on Kamon's Context Storage.

    Temporarily stores the provided Span on Kamon's Context Storage. The provided Span will be added to the current Context and stored before executing the provided function, then removed right after execution finishes. Optionally, this function can finish the provided Span once the function execution finishes.

    Definition Classes
    ContextStorage
    Annotations
    @inline()
  82. def runWithSpan[T](span: Span)(f: ⇒ T): T

    Permalink

    Temporarily stores the provided Span on Kamon's Context Storage.

    Temporarily stores the provided Span on Kamon's Context Storage. The provided Span will be added to the current Context and stored before executing the provided function, then removed right after execution finishes.

    Definition Classes
    ContextStorage
  83. def serverSpanBuilder(operationName: String, component: String): SpanBuilder

    Permalink

    Creates a new SpanBuilder for a Server Span and applies the provided component name as a metric tag.

    Creates a new SpanBuilder for a Server Span and applies the provided component name as a metric tag. It is recommended that all Spans include a "component" metric tag that indicates what library or library section is generating the Span.

    Definition Classes
    Tracing
  84. def span[A](operationName: String, component: String)(f: ⇒ A): A

    Permalink

    Creates an Internal Span that finishes automatically when the provided function finishes execution.

    Creates an Internal Span that finishes automatically when the provided function finishes execution. If the provided function returns a scala.concurrent.Future or java.util.concurrent.CompletionStage implementation then the Span will be finished with the Future/CompletionState completes.

    You can get access to the created Span within the provided function using Kamon.currentSpan. For example, if you wanted to add a tag to a Span created with this function you could do it as follows:

    span("fetchUserDetails") { Kamon.currentSpan.tag("user.id", userId)

    // Your business logic... }

    If you need more customization options for the Span or complete control over Context propagation and Span lifecycle then create a SpanBuilder instead.

    Definition Classes
    Tracing
  85. def span[A](operationName: String)(f: ⇒ A): A

    Permalink

    Creates an Internal Span that finishes automatically when the provided function finishes execution.

    Creates an Internal Span that finishes automatically when the provided function finishes execution. If the provided function returns a scala.concurrent.Future or java.util.concurrent.CompletionStage implementation then the Span will be finished with the Future/CompletionState completes.

    You can get access to the created Span within the provided function using Kamon.currentSpan. For example, if you wanted to add a tag to a Span created with this function you could do it as follows:

    span("fetchUserDetails") { Kamon.currentSpan.tag("user.id", userId)

    // Your business logic... }

    If you need more customization options for the Span or complete control over Context propagation and Span lifecycle then create a SpanBuilder instead.

    Definition Classes
    Tracing
  86. def spanBuilder(operationName: String): SpanBuilder

    Permalink

    Creates a new raw SpanBuilder instance using the provided operation name.

    Creates a new raw SpanBuilder instance using the provided operation name.

    Definition Classes
    Tracing
  87. def status(): Status

    Permalink

    Returns an accessor to Kamon's current status.

    Returns an accessor to Kamon's current status. The current status information is split into four main sections:

    • Settings: which include the Kamon version, environment and configuration being used.
    • Module Registry: Lists all modules that have been detected on the classpath and their current state.
    • Metric Registry: Lists all metrics currently registered in Kamon and all instruments belonging to them.
    • Instrumentation: Lists all instrumentation modules that have been detected and their current state.

    All information exposed by the Status API represents an immutable snapshot of the state at the moment the status was requested.

    Definition Classes
    CurrentStatus
  88. def stop(): Future[Unit]

    Permalink
    Definition Classes
    Init
  89. def stopModules(): Future[Unit]

    Permalink

    Stops all registered modules and returns a future that completes when the stop callback on all available modules have been completed.

    Stops all registered modules and returns a future that completes when the stop callback on all available modules have been completed. This includes automatically and programmatically registered modules.

    Definition Classes
    ModuleManagement
  90. def storeContext(context: Context): Scope

    Permalink

    Stores the provided Context on Kamon's Context Storage and returns a Scope that removes that Context from the it upon closing.

    Stores the provided Context on Kamon's Context Storage and returns a Scope that removes that Context from the it upon closing. When a Scope is closed, it will always set the current Context to the Context that was available right before it was created.

    NOTE: The default implementation of Scope is not thread safe and, unless there is a good reason not to, users should always close scopes before leaving a thread, otherwise there is a risk of leaving "dirty" threads that could cause unexpected correlation between Contexts from different operations. It is strongly recommended to use any of the .storeContext(...) variants which ensure closing Scopes after finishing execution.

    Definition Classes
    ContextStorage
  91. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  92. def timer(name: String, description: String, dynamicRange: DynamicRange): Timer

    Permalink

    Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

    Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  93. def timer(name: String, dynamicRange: DynamicRange): Timer

    Permalink

    Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

    Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

    Definition Classes
    MetricBuilding
  94. def timer(name: String, description: String): Timer

    Permalink

    Creates or retrieves a Timer-backed metric

    Creates or retrieves a Timer-backed metric

    Definition Classes
    MetricBuilding
  95. def timer(name: String): Timer

    Permalink

    Creates or retrieves a Timer-backed metric

    Creates or retrieves a Timer-backed metric

    Definition Classes
    MetricBuilding
  96. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  97. def tracer(): Tracer

    Permalink

    The Tracer instance is only exposed to other Kamon components that need it like the Module Registry and Status

    The Tracer instance is only exposed to other Kamon components that need it like the Module Registry and Status

    Attributes
    protected
    Definition Classes
    Tracing
  98. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def registerModule(name: String, description: String, module: Module, configPath: String): Registration

    Permalink

    Register a module instantiated by the user and returns a Registration that can be used to stop and deregister the module at any time.

    Register a module instantiated by the user and returns a Registration that can be used to stop and deregister the module at any time.

    Definition Classes
    ModuleManagement
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) Use addReporter or addScheduledAction instead

  2. def registerModule(name: String, module: Module): Registration

    Permalink

    Register a module instantiated by the user and returns a Registration that can be used to stop and deregister the module at any time.

    Register a module instantiated by the user and returns a Registration that can be used to stop and deregister the module at any time.

    Definition Classes
    ModuleManagement
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.0) Use addReporter or addScheduledAction instead

Inherited from Init

Inherited from CurrentStatus

Inherited from ContextStorage

Inherited from ContextPropagation

Inherited from ModuleManagement

Inherited from Tracing

Inherited from Metrics

Inherited from MetricBuilding

Inherited from Utilities

Inherited from Configuration

Inherited from AnyRef

Inherited from Any

Ungrouped