trait SigarProvider extends AnyRef

Provide sigar instance as SigarProxy.

User can provision sigar classes and native library in one of the following ways:

1) Use Kamon sigar-loader as a project dependency for the user project. Metrics extension will extract and load sigar library on demand with help of Kamon sigar provisioner.

2) Use Kamon sigar-loader as java agent: java -javaagent:/path/to/sigar-loader.jar Kamon sigar loader agent will extract and load sigar library during JVM start.

3) Place sigar.jar on the classpath and sigar native library for the o/s on the java.library.path User is required to manage both project dependency and library deployment manually.

Source
Provision.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigarProvider
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def extractFolder: String

    Library extract location.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SigarProvider toany2stringadd[SigarProvider] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SigarProvider, B)
    Implicit
    This member is added by an implicit conversion from SigarProvider toArrowAssoc[SigarProvider] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. def createSigarInstance: SigarProxy

    Create sigar instance with 2-phase sigar library loading.

    Create sigar instance with 2-phase sigar library loading. 1) Assume that library is already provisioned. 2) Attempt to provision library via sigar-loader.

  9. def ensuring(cond: (SigarProvider) => Boolean, msg: => Any): SigarProvider
    Implicit
    This member is added by an implicit conversion from SigarProvider toEnsuring[SigarProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (SigarProvider) => Boolean): SigarProvider
    Implicit
    This member is added by an implicit conversion from SigarProvider toEnsuring[SigarProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): SigarProvider
    Implicit
    This member is added by an implicit conversion from SigarProvider toEnsuring[SigarProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): SigarProvider
    Implicit
    This member is added by an implicit conversion from SigarProvider toEnsuring[SigarProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isNativeLoaded: Boolean

    Verify if sigar native library is loaded and operational.

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def provisionSigarLibrary(): Unit

    Extract and load sigar native library.

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def verifiedSigarInstance: SigarProxy

    Create sigar and verify it works.

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SigarProvider toStringFormat[SigarProvider] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (SigarProvider, B)
    Implicit
    This member is added by an implicit conversion from SigarProvider toArrowAssoc[SigarProvider] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromSigarProvider to any2stringadd[SigarProvider]

Inherited by implicit conversion StringFormat fromSigarProvider to StringFormat[SigarProvider]

Inherited by implicit conversion Ensuring fromSigarProvider to Ensuring[SigarProvider]

Inherited by implicit conversion ArrowAssoc fromSigarProvider to ArrowAssoc[SigarProvider]

Ungrouped