Class/Object

com.netflix.atlas.core.model

Datapoint

Related Docs: object Datapoint | package model

Permalink

case class Datapoint(tags: Map[String, String], timestamp: Long, value: Double, step: Long = Datapoint.step) extends TimeSeries with TimeSeq with Product with Serializable

Time series with a single value.

tags

Metadata for the identifying the datapoint.

timestamp

Timestamp for the data point. The time is the end of an interval that starts at timestamp - step.

value

Value for the interval.

step

Step size for the datapoint. Defaults to the configured step size for the service.

Linear Supertypes
Serializable, Serializable, Product, Equals, TimeSeq, TimeSeries, TaggedItem, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Datapoint
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TimeSeq
  7. TimeSeries
  8. TaggedItem
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Datapoint(tags: Map[String, String], timestamp: Long, value: Double, step: Long = Datapoint.step)

    Permalink

    tags

    Metadata for the identifying the datapoint.

    timestamp

    Timestamp for the data point. The time is the end of an interval that starts at timestamp - step.

    value

    Value for the interval.

    step

    Step size for the datapoint. Defaults to the configured step size for the service.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(t: Long): Double

    Permalink
    Definition Classes
    DatapointTimeSeq
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def binaryOp(ts: TimeSeries, labelFmt: String, f: BinaryOp): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  7. def blend(ts: TimeSeries): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  8. def bounded(s: Long, e: Long): ArrayTimeSeq

    Permalink
    Definition Classes
    TimeSeq
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. def consolidate(step: Long, cf: ConsolidationFunction): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  11. def data: TimeSeq

    Permalink
    Definition Classes
    DatapointTimeSeries
  12. def datapoint(timestamp: Long): Datapoint

    Permalink
    Definition Classes
    TimeSeries
  13. def dsType: DsType

    Permalink
    Definition Classes
    DatapointTimeSeq
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def foreach(s: Long, e: Long)(f: (Long, Double) ⇒ Unit): Unit

    Permalink

    Fast loop with no intermediate object creation.

    Fast loop with no intermediate object creation.

    Definition Classes
    TimeSeq
  16. def foreach(f: (String, String) ⇒ Unit): Unit

    Permalink

    Code that just needs to iterate over all tags should use this method.

    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.

    Definition Classes
    TaggedItem
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def id: ItemId

    Permalink

    Unique id based on the tags.

    Unique id based on the tags.

    Definition Classes
    DatapointTaggedItem
  19. def idString: String

    Permalink

    Standard string representation of the id.

    Standard string representation of the id.

    Definition Classes
    TaggedItem
  20. def isExpired: Boolean

    Permalink

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

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

    Definition Classes
    TaggedItem
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def label: String

    Permalink
    Definition Classes
    DatapointTimeSeries
  23. def mapTimeSeq(f: (TimeSeq) ⇒ TimeSeq): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  24. def mapValues(f: (Double) ⇒ Double): TimeSeq

    Permalink
    Definition Classes
    TimeSeq
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def offset(dur: Long): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  29. val step: Long

    Permalink

    Step size for the datapoint.

    Step size for the datapoint. Defaults to the configured step size for the service.

    Definition Classes
    DatapointTimeSeq
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. val tags: Map[String, String]

    Permalink

    Metadata for the identifying the datapoint.

    Metadata for the identifying the datapoint.

    Definition Classes
    DatapointTaggedItem
  32. val timestamp: Long

    Permalink

    Timestamp for the data point.

    Timestamp for the data point. The time is the end of an interval that starts at timestamp - step.

  33. def unaryOp(labelFmt: String, f: (Double) ⇒ Double): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  34. val value: Double

    Permalink

    Value for the interval.

  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withLabel(s: String): TimeSeries

    Permalink
    Definition Classes
    TimeSeries
  39. def withTags(ts: Map[String, String]): TimeSeries

    Permalink
    Definition Classes
    TimeSeries

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TimeSeq

Inherited from TimeSeries

Inherited from TaggedItem

Inherited from AnyRef

Inherited from Any

Ungrouped