com.netflix.atlas.core.norm

Members list

Type members

Classlikes

class DedupValueFunction(step: Long, size: Int, next: ValueFunction) extends ValueFunction

If it is expensive to overwrite, then the immediate pass through behavior of other functions can be undesirable. This implementation uses a buffer to track the last n values over time for a given normalization function. This is typically to allow for use-cases where data may be reported on many nodes and thus some data is received out of order with many values for a given time.

If it is expensive to overwrite, then the immediate pass through behavior of other functions can be undesirable. This implementation uses a buffer to track the last n values over time for a given normalization function. This is typically to allow for use-cases where data may be reported on many nodes and thus some data is received out of order with many values for a given time.

Value parameters

next

Normalized values will be passed to the this function.

size

Size of the buffer.

step

Step size between successive values.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Simple value function used for testing and debugging. Collects output in a list so it is easy to examine.

Simple value function used for testing and debugging. Collects output in a list so it is easy to examine.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class MaxValueFunction(step: Long, next: ValueFunction) extends ValueFunction

Normalizes values by truncating the timestamp to the previous step boundary. All values will be passed through to the next function.

Normalizes values by truncating the timestamp to the previous step boundary. All values will be passed through to the next function.

Value parameters

next

Normalized values will be passed to the this function.

step

Normalized distance between samples produced by this class.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class NormalizationCache(step: Long, updateF: UpdateFunction, clock: Clock)

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class NormalizeValueFunction(step: Long, heartbeat: Long, next: ValueFunction) extends ValueFunction

Normalizes metrics in a manner similar to RRDtool.

Normalizes metrics in a manner similar to RRDtool.

Value parameters

heartbeat

maximum time allowed between updates before NaN values will be used.

next

normalized values will be passed to the this function.

step

normalized distance between samples produced by this class.

Attributes

Companion
object
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Converts values into a rate per second. The input values should be a monotonically increasing.

Converts values into a rate per second. The input values should be a monotonically increasing.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class RollingValueFunction(step: Long, aggr: (Double, Double) => Double, next: ValueFunction) extends ValueFunction

Value function that will aggregate all values received for a given step interval. Keeps a rolling buffer to allow out of order updates for a brief window and ensure that the normalized values will get output in order.

Value function that will aggregate all values received for a given step interval. Keeps a rolling buffer to allow out of order updates for a brief window and ensure that the normalized values will get output in order.

Value parameters

aggr

Aggregation function to use to combine values for the same interval.

next

Normalized values will be passed to the this function.

step

Normalized distance between samples produced by this class.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class SumValueFunction(step: Long, next: ValueFunction) extends ValueFunction

Normalizes values by truncating the timestamp to the previous step boundary and accumulating all values for a given time. All values will be passed through to the next function.

Normalizes values by truncating the timestamp to the previous step boundary and accumulating all values for a given time. All values will be passed through to the next function.

Value parameters

next

Normalized values will be passed to the this function.

step

Normalized distance between samples produced by this class.

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
class UpdateValueFunction(id: ItemId, tags: Map[String, String], updateF: UpdateFunction) extends ValueFunction

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
trait ValueFunction extends AutoCloseable

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Types

type UpdateFunction = (ItemId, Map[String, String], Long, Double) => Unit