com.netflix.atlas.eval.util

Members list

Type members

Classlikes

class HostRewriter(config: Config)

Utility for rewriting an Atlas query expression based on the host used. This is useful for cases where the same backend is serving requests, but there might be multiple DNS names used that are intended to provide specific views.

Utility for rewriting an Atlas query expression based on the host used. This is useful for cases where the same backend is serving requests, but there might be multiple DNS names used that are intended to provide specific views.

Sample config:

pattern = "^foo\\.([^.]+)\\.example\\.com$"
key = "region"

This config would extract the second portion of the host name and use it as a region restriction (region,$1,:eq). The first group will be used as the value for the restriction query.

Attributes

Supertypes
class Object
trait Matchable
class Any

Helper to sanitize the id parameter value.

Helper to sanitize the id parameter value.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class SmallHashMapDeserializer extends JsonDeserializer[SmallHashMap[String, String]]

Custom deserializer for tag maps to go directly to SmallHashMap type. It is assumed that each tag map should have a relatively small number of entries.

Custom deserializer for tag maps to go directly to SmallHashMap type. It is assumed that each tag map should have a relatively small number of entries.

Attributes

Supertypes
class JsonDeserializer[SmallHashMap[String, String]]
trait NullValueProvider
class Object
trait Matchable
class Any
class SortedTagMapDeserializer(initSize: Int) extends JsonDeserializer[SortedTagMap]

Custom deserializer for tag maps to go directly to SortedTagMap type. It is assumed that each tag map should have a relatively small number of entries.

Custom deserializer for tag maps to go directly to SortedTagMap type. It is assumed that each tag map should have a relatively small number of entries.

Value parameters

initSize

The initial size to use for the maps.

Attributes

Supertypes
class JsonDeserializer[SortedTagMap]
trait NullValueProvider
class Object
trait Matchable
class Any