Resource

zio.blocks.telemetry.Resource
See theResource companion class
object Resource

Attributes

Companion
class
Source
Resource.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Resource.type

Members list

Type members

Classlikes

implicit class ResourceOps(val self: Resource)

Extension method to merge this Resource with another.

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
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def create(attrs: Attributes): Resource

Creates a Resource from attributes.

Creates a Resource from attributes.

Value parameters

attrs

The attributes to wrap

Attributes

Returns

A Resource containing the given attributes

Source
Resource.scala

Concrete fields

The default Resource with auto-populated standard attributes.

The default Resource with auto-populated standard attributes.

Includes:

  • service.name = "unknown_service"
  • telemetry.sdk.name = "zio-blocks"
  • telemetry.sdk.language = "scala"
  • telemetry.sdk.version = BuildInfo.version

Attributes

Source
Resource.scala

An empty Resource with no attributes.

An empty Resource with no attributes.

Attributes

Source
Resource.scala

Implicits

Implicits

final implicit def ResourceOps(self: Resource): ResourceOps

Extension method to merge this Resource with another.

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