Exemplar

com.google.api.distribution.Distribution$.Exemplar
See theExemplar companion object
final case class Exemplar(value: Double, timestamp: Option[Timestamp], attachments: Seq[Any], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Exemplar]

Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.

Attributes

attachments

Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.

timestamp

The observation (sampling) time of the above value.

value

Value of the exemplar point. This value determines to which bucket the exemplar belongs.

Companion:
object
Source:
Distribution.scala
Graph
Supertypes
trait Updatable[Exemplar]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addAttachments(`__vs`: Any*): Exemplar

Attributes

Source:
Distribution.scala

Attributes

Source:
Distribution.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
Distribution.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
Distribution.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Distribution.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
Distribution.scala

Attributes

Source:
Distribution.scala

Attributes

Source:
Distribution.scala
def withUnknownFields(`__v`: UnknownFieldSet): Exemplar

Attributes

Source:
Distribution.scala

Attributes

Source:
Distribution.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
Distribution.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[Exemplar, Exemplar] => () => Exemplar*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala