← ZIO Telemetry docs

Attribute

zio.telemetry.opentelemetry.common.Attribute
See theAttribute companion object
final case class Attribute[T](key: AttributeKey[T], value: T)

A Scala wrapper for Java attribute key/value API. It simplifies the creation of key/value pairs without having to box Scala primitives to Java ones.

Type parameters

T

Java-specific type java.lang.*

Attributes

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

Members list

Value members

Inherited methods

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

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