AggrDatapoint

com.netflix.atlas.eval.model.AggrDatapoint
See theAggrDatapoint companion object
case class AggrDatapoint(timestamp: Long, step: Long, expr: DataExpr, source: String, tags: Map[String, String], value: Double)

Datapoint for an aggregate data expression. This type is used for the intermediate results during evaluation of an expression until we get the final aggregated value for a given query.

Value parameters

expr

Data expression associated with the value. This is needed if further aggregation is necessary and later for matching in the final evaluation phase.

source

Indicates whether it is an actual data point or a synthetic data point generated from a heartbeat.

step

Step size for the subscription. Datapoints should be received at this frequency.

tags

Tags associated with the datapoint.

timestamp

Timestamp for all values that contributed to the aggregate. It should already be normalized to the step interval for the data stream prior to aggregation taking place.

value

Value for the datapoint.

Attributes

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

Members list

Value members

Concrete methods

def isHeartbeat: Boolean

Check if it is a heartbeat datapoint.

Check if it is a heartbeat datapoint.

Attributes

def toTimeSeries: TimeSeries

Converts this value to a time series type that can be used for the final evaluation phase.

Converts this value to a time series type that can be used for the final evaluation phase.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product