object Filter
- Alphabetic
- By Inheritance
- Filter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Constant(result: Boolean) extends Filter with Product with Serializable
Filter that always returns the same result, regardless of the pattern
- case class Glob(glob: String) extends Matcher with Product with Serializable
Matcher that uses a glob pattern expression to match values.
- case class IncludeExclude(includeFilters: Seq[Matcher], excludeFilters: Seq[Matcher]) extends Filter with Product with Serializable
Composite Filter that accepts inputs that match at least one of the include filters and none of the exclude filters.
- trait Matcher extends AnyRef
Base trait for all matcher implementations
- case class Regex(pattern: String) extends Matcher with Product with Serializable
Matcher that uses regexes to match values.
- case class SingleMatcher(matcher: Matcher) extends Filter with Product with Serializable
Filter that uses a single pattern to accept test strings.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Accept: Constant
Filter that accepts any value
- val Deny: Constant
Filter that does not accept any value
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from(config: Config): Filter
Creates a new Filter from the provided config.
Creates a new Filter from the provided config. 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.
- def from(path: String): Filter
Creates a new Filter from the provided path on Kamon's configuration.
Creates a new Filter from the provided path on Kamon's configuration. 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.
- def fromGlob(glob: String): Filter
Creates a new Filter from a single glob pattern.
- def fromRegex(regexPattern: String): Filter
Creates a new Filter from a single regex pattern.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()