ResourceOps

zio.blocks.telemetry.Resource.ResourceOps
implicit class ResourceOps(val self: Resource)

Extension method to merge this Resource with another.

Attributes from the other Resource take precedence on key conflicts, following the semantics of Attributes.++.

Value parameters

other

The other Resource to merge

Attributes

Returns

A new Resource with merged attributes

Source
Resource.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def merge(other: Resource): Resource

Attributes

Source
Resource.scala

Concrete fields

val self: Resource

Attributes

Source
Resource.scala