MaxUserTagsRule

com.netflix.atlas.core.validation.MaxUserTagsRule
See theMaxUserTagsRule companion object
case class MaxUserTagsRule(limit: Int) extends Rule

Verifies that the number of custom user tags are within a specified limit. Sample config:

limit = 10

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def validate(tags: SmallHashMap[String, String]): ValidationResult

Validates that the tag map matches the rule.

Validates that the tag map matches the rule.

Attributes

Definition Classes
override def validate(tags: SortedTagMap): ValidationResult

Validates that the tag map matches the rule.

Validates that the tag map matches the rule.

Attributes

Definition Classes
override def validate(id: Id): ValidationResult

Validates that the id matches the rule.

Validates that the id matches the rule.

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def validate(tags: Map[String, String]): ValidationResult

Validates that the tag map matches the rule.

Validates that the tag map matches the rule.

Attributes

Inherited from:
Rule