final case class ResourceMetrics(resource: Option[Resource] = _root_.scala.None, scopeMetrics: Seq[ScopeMetrics] = _root_.scala.Seq.empty, instrumentationLibraryMetrics: Seq[InstrumentationLibraryMetrics] = _root_.scala.Seq.empty, schemaUrl: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ResourceMetrics] with Product with Serializable

A collection of ScopeMetrics from a Resource.

resource

The resource for the metrics in this message. If this field is not set then no resource info is known.

scopeMetrics

A list of metrics that originate from a resource.

instrumentationLibraryMetrics

A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs

Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON
JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
schemaUrl

This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.

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

Instance Constructors

  1. new ResourceMetrics(resource: Option[Resource] = _root_.scala.None, scopeMetrics: Seq[ScopeMetrics] = _root_.scala.Seq.empty, instrumentationLibraryMetrics: Seq[InstrumentationLibraryMetrics] = _root_.scala.Seq.empty, schemaUrl: String = "", unknownFields: UnknownFieldSet = ...)

    resource

    The resource for the metrics in this message. If this field is not set then no resource info is known.

    scopeMetrics

    A list of metrics that originate from a resource.

    instrumentationLibraryMetrics

    A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs

    Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON
    JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
    schemaUrl

    This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllInstrumentationLibraryMetrics(__vs: Iterable[InstrumentationLibraryMetrics]): ResourceMetrics
  5. def addAllScopeMetrics(__vs: Iterable[ScopeMetrics]): ResourceMetrics
  6. def addInstrumentationLibraryMetrics(__vs: InstrumentationLibraryMetrics*): ResourceMetrics
  7. def addScopeMetrics(__vs: ScopeMetrics*): ResourceMetrics
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearInstrumentationLibraryMetrics: ResourceMetrics
  10. def clearResource: ResourceMetrics
  11. def clearScopeMetrics: ResourceMetrics
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. def companion: ResourceMetrics.type
    Definition Classes
    ResourceMetrics → GeneratedMessage
  14. def discardUnknownFields: ResourceMetrics
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ResourceMetrics → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ResourceMetrics → GeneratedMessage
  19. def getResource: Resource
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val resource: Option[Resource]
  25. val schemaUrl: String
  26. val scopeMetrics: Seq[ScopeMetrics]
  27. def serializedSize: Int
    Definition Classes
    ResourceMetrics → GeneratedMessage
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  30. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  31. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  32. def toProtoString: String
    Definition Classes
    ResourceMetrics → GeneratedMessage
  33. val unknownFields: UnknownFieldSet
  34. def update(ms: (Lens[ResourceMetrics, ResourceMetrics]) ⇒ Mutation[ResourceMetrics]*): ResourceMetrics
    Definition Classes
    Updatable
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withInstrumentationLibraryMetrics(__v: Seq[InstrumentationLibraryMetrics]): ResourceMetrics
  39. def withResource(__v: Resource): ResourceMetrics
  40. def withSchemaUrl(__v: String): ResourceMetrics
  41. def withScopeMetrics(__v: Seq[ScopeMetrics]): ResourceMetrics
  42. def withUnknownFields(__v: UnknownFieldSet): ResourceMetrics
  43. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  44. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ResourceMetrics → GeneratedMessage
  45. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. val instrumentationLibraryMetrics: Seq[InstrumentationLibraryMetrics]
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[ResourceMetrics]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped