Resource

zio.blocks.telemetry.Resource
See theResource companion object
final case class Resource(attributes: Attributes)

Describes the entity producing telemetry (service, container, host, etc.).

Resources are immutable wrappers around Attributes that identify the application/service generating the telemetry data. A Resource typically includes semantic attributes like service.name, service.version, and deployment environment.

Attributes

Companion
object
Source
Resource.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def merge(other: Resource): Resource
Implicitly added by ResourceOps

Attributes

Source
Resource.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala

Concrete fields

val self: Resource
Implicitly added by ResourceOps

Attributes

Source
Resource.scala