TimeSeries

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

Attributes

Companion
object
Graph
Supertypes
trait TaggedItem
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def data: TimeSeq
def label: String

Concrete methods

def binaryOp(ts: TimeSeries, labelFmt: String, f: BinaryOp): TimeSeries
def datapoint(timestamp: Long): Datapoint
def offset(dur: Long): TimeSeries
def unaryOp(labelFmt: String, f: Double => Double): TimeSeries
def withLabel(s: String): TimeSeries
def withTags(ts: Map[String, String]): TimeSeries

Inherited methods

def foreach(f: (String, String) => Unit): Unit

Code that just needs to iterate over all tags should use this method. Allows for implementations to optimize how the tag data is stored and traversed.

Code that just needs to iterate over all tags should use this method. Allows for implementations to optimize how the tag data is stored and traversed.

Attributes

Inherited from:
TaggedItem
def idString: String

Standard string representation of the id.

Standard string representation of the id.

Attributes

Inherited from:
TaggedItem
def isExpired: Boolean

Returns true if the item is expired and no data is available.

Returns true if the item is expired and no data is available.

Attributes

Inherited from:
TaggedItem

Inherited and Abstract methods

def id: ItemId

Unique id based on the tags.

Unique id based on the tags.

Attributes

Inherited from:
TaggedItem
def tags: Map[String, String]

The tags associated with this item.

The tags associated with this item.

Attributes

Inherited from:
TaggedItem