Attributes
- Companion
- class
- Source
- Resource.scala
- Graph
-
- Supertypes
- Self type
-
Resource.type
Members list
Type members
Classlikes
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
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
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.
Implicits
Implicits
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