Class/Object

io.prometheus.client.metrics

Metric

Related Docs: object Metric | package metrics

Permalink

final case class Metric(label: Seq[LabelPair] = _root_.scala.collection.Seq.empty, gauge: Option[Gauge] = None, counter: Option[Counter] = None, summary: Option[Summary] = None, untyped: Option[Untyped] = None, histogram: Option[Histogram] = None, timestampMs: Option[Long] = None) extends GeneratedMessage with Message[Metric] with Updatable[Metric] with Product with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Metric
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Metric(label: Seq[LabelPair] = _root_.scala.collection.Seq.empty, gauge: Option[Gauge] = None, counter: Option[Counter] = None, summary: Option[Summary] = None, untyped: Option[Untyped] = None, histogram: Option[Histogram] = None, timestampMs: Option[Long] = None)

    Permalink

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 addAllLabel(__vs: TraversableOnce[LabelPair]): Metric

    Permalink
  5. def addLabel(__vs: LabelPair*): Metric

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearCounter: Metric

    Permalink
  8. def clearGauge: Metric

    Permalink
  9. def clearHistogram: Metric

    Permalink
  10. def clearLabel: Metric

    Permalink
  11. def clearSummary: Metric

    Permalink
  12. def clearTimestampMs: Metric

    Permalink
  13. def clearUntyped: Metric

    Permalink
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def companion: Metric.type

    Permalink
    Definition Classes
    Metric → GeneratedMessage
  16. val counter: Option[Counter]

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. val gauge: Option[Gauge]

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getCounter: Counter

    Permalink
  22. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    Metric → GeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    Metric → GeneratedMessage
  24. def getGauge: Gauge

    Permalink
  25. def getHistogram: Histogram

    Permalink
  26. def getSummary: Summary

    Permalink
  27. def getTimestampMs: Long

    Permalink
  28. def getUntyped: Untyped

    Permalink
  29. val histogram: Option[Histogram]

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. val label: Seq[LabelPair]

    Permalink
  32. def mergeFrom(_input__: CodedInputStream): Metric

    Permalink
    Definition Classes
    Metric → Message
  33. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def serializedSize: Int

    Permalink
    Definition Classes
    Metric → GeneratedMessage
  37. val summary: Option[Summary]

    Permalink
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. val timestampMs: Option[Long]

    Permalink
  40. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  41. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  42. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  43. def toString(): String

    Permalink
    Definition Classes
    Metric → AnyRef → Any
  44. val untyped: Option[Untyped]

    Permalink
  45. def update(ms: (Lens[Metric, Metric]) ⇒ Mutation[Metric]*): Metric

    Permalink
    Definition Classes
    Updatable
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def withCounter(__v: Counter): Metric

    Permalink
  50. def withGauge(__v: Gauge): Metric

    Permalink
  51. def withHistogram(__v: Histogram): Metric

    Permalink
  52. def withLabel(__v: Seq[LabelPair]): Metric

    Permalink
  53. def withSummary(__v: Summary): Metric

    Permalink
  54. def withTimestampMs(__v: Long): Metric

    Permalink
  55. def withUntyped(__v: Untyped): Metric

    Permalink
  56. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  57. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    Metric → GeneratedMessage
  58. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[Metric]

Inherited from Message[Metric]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped