AggrDatapoint

com.netflix.atlas.eval.model.AggrDatapoint
See theAggrDatapoint companion class
object AggrDatapoint

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

abstract class Aggregator(settings: AggregatorSettings)

Base trait for an aggregator that can efficiently combine the datapoints as they arrive using the aggregation function for the data expression associated with the datapoint. The caller should ensure that all datapoints passed to a given aggregator instance have the same data expression.

Base trait for an aggregator that can efficiently combine the datapoints as they arrive using the aggregation function for the data expression associated with the datapoint. The caller should ensure that all datapoints passed to a given aggregator instance have the same data expression.

Attributes

Supertypes
class Object
trait Matchable
class Any
case class AggregatorSettings(maxInputDatapoints: Int, maxIntermediateDatapoints: Int, registry: Registry)

Common settings for aggregators.

Common settings for aggregators.

Value parameters

maxInputDatapoints

Limit for the number of input datapoints.

maxIntermediateDatapoints

Limit for the number of intermediate datapoints.

registry

Registry used for reporting metrics related to the aggregation behavior.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def aggregate(values: List[AggrDatapoint], settings: AggregatorSettings): Option[Aggregator]

Aggregate intermediate aggregates from each source to get the final aggregate for a given expression. All values are expected to be for the same data expression.

Aggregate intermediate aggregates from each source to get the final aggregate for a given expression. All values are expected to be for the same data expression.

Attributes

def heartbeat(timestamp: Long, step: Long): AggrDatapoint

Creates a dummy datapoint passed along when a heartbeat message is received from the lwcapi server. These are used to ensure regular messages are flowing into the time grouping stage so it will flush even if there is no matching data for any of the expressions being evaluated.

Creates a dummy datapoint passed along when a heartbeat message is received from the lwcapi server. These are used to ensure regular messages are flowing into the time grouping stage so it will flush even if there is no matching data for any of the expressions being evaluated.

Attributes

Create a new aggregator instance initialized with the specified datapoint. The datapoint will already be applied and should not get re-added to the aggregation.

Create a new aggregator instance initialized with the specified datapoint. The datapoint will already be applied and should not get re-added to the aggregation.

Attributes