TimeSeries

com.netflix.atlas.core.model.TimeSeries
See theTimeSeries companion trait
object TimeSeries

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TimeSeries.type

Members list

Type members

Classlikes

trait Aggregator

Base type for aggregators that can be used to combine a set of time series using some aggregation function. The aggregation is performed in-place on the buffer so it requires a bounded time range.

Base type for aggregators that can be used to combine a set of time series using some aggregation function. The aggregation is performed in-place on the buffer so it requires a bounded time range.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AvgAggregator(val start: Long, val end: Long) extends Aggregator

Aggregator that computes the average for the input time series.

Aggregator that computes the average for the input time series.

Attributes

Supertypes
trait Aggregator
class Object
trait Matchable
class Any
class CountAggregator(val start: Long, val end: Long) extends Aggregator

Aggregation that computes the number of time series that have a value for a given interval.

Aggregation that computes the number of time series that have a value for a given interval.

Attributes

Supertypes
trait Aggregator
class Object
trait Matchable
class Any
case object NoopAggregator extends Aggregator

No-operation aggregator that can be used when aggregation is optional.

No-operation aggregator that can be used when aggregation is optional.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Aggregator
class Object
trait Matchable
class Any
Show all
Self type
class SimpleAggregator(val start: Long, val end: Long, f: BinaryOp) extends Aggregator

Simple aggregator that can combine the corresponding values using a basic math function.

Simple aggregator that can combine the corresponding values using a basic math function.

Attributes

Supertypes
trait Aggregator
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(tags: Map[String, String], label: String, data: TimeSeq): TimeSeries
def apply(tags: Map[String, String], data: TimeSeq): TimeSeries
def noData(step: Long): TimeSeries

Create a time series with all NaN values representing that there were no matches for the query. The tags will only have a name with a value of "NO_DATA".

Create a time series with all NaN values representing that there were no matches for the query. The tags will only have a name with a value of "NO_DATA".

Value parameters

step

Step size to use for the returned time series.

Attributes

Returns

Time series with NaN for all values.

def noData(query: Query, step: Long): TimeSeries

Create a time series with all NaN values representing that there were no matches for the query. The tags will be extracted from the query.

Create a time series with all NaN values representing that there were no matches for the query. The tags will be extracted from the query.

Value parameters

query

Query that did not match any time series.

step

Step size to use for the returned time series.

Attributes

Returns

Time series with NaN for all values.

def toLabel(tags: Map[String, String]): String
def toLabel(keys: List[String], tags: Map[String, String]): String