Class/Object

com.netflix.atlas.core.model

CustomVocabulary

Related Docs: object CustomVocabulary | package model

Permalink

class CustomVocabulary extends Vocabulary

Vocabulary that allows custom extension operations to be loaded from the config.

Linear Supertypes
Vocabulary, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomVocabulary
  2. Vocabulary
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CustomVocabulary(config: Config)

    Permalink

    config

    Config instance to use for loading the custom operations. The settings will be loaded from the atlas.core.vocabulary block. **Words** Custom words can be defined using an expression. These are typically used by the operators to provide common helper functions. words = [ { name = "square" body = ":dup,:mul" examples = ["2"] } ] The supported fields are:

    • name: operation name, when the user calls the operation they will use :$name.
    • body: expression that is executed for this operation.
    • examples: set of example stacks that can be used as input to the operator to show how it works. **Averages** The custom-averages list contains a set of rewrites for averaging based on an arbitrary denominator query. This is typically used to make it easier for performing an average based on a separate infrastructure metric. For example, at Netflix there is a metric published for each instance that is UP in Eureka. To compute an average per UP server we could define a custom average like: custom-averages = [ { name = "eureka-avg" base-query = "name,eureka.state,:eq,status,UP,:eq,:and" keys = ["nf.app", "nf.cluster", "nf.asg", "nf.node"] } ] The supported fields are:
    • name: operation name, when the user calls the operation they will use :$name.
    • base-query: query for the denominator.
    • keys: tag keys that are available for use on the denominator.

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. def allWords: List[Word]

    Permalink

    Return a flattened list of all words from this vocabulary plus words from all dependencies.

    Return a flattened list of all words from this vocabulary plus words from all dependencies.

    Definition Classes
    Vocabulary
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def dependencies: List[Vocabulary]

    Permalink

    Return a flattened list of all dependency vocabularies.

    Return a flattened list of all dependency vocabularies.

    Definition Classes
    Vocabulary
  8. val dependsOn: List[Vocabulary]

    Permalink
    Definition Classes
    CustomVocabularyVocabulary
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val name: String

    Permalink
    Definition Classes
    CustomVocabularyVocabulary
  15. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toMarkdown: String

    Permalink
    Definition Classes
    Vocabulary
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. val words: List[Word]

    Permalink
    Definition Classes
    CustomVocabularyVocabulary

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Vocabulary

Inherited from AnyRef

Inherited from Any

Ungrouped