AttributeKey

org.typelevel.otel4s.AttributeKey
See theAttributeKey companion object
sealed trait AttributeKey[A]

The type of value that can be set with an implementation of this key is denoted by the type parameter.

Type parameters

A

the type of value that can be set with the key

Attributes

Companion
object
Source
AttributeKey.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Attributes

Source
AttributeKey.scala
def name: String

Attributes

Source
AttributeKey.scala

Concrete methods

final def apply(value: A): Attribute[A]

Attributes

Returns

an Attribute associating this key with the given value

Source
AttributeKey.scala
final def transformName(f: String => String): AttributeKey[A]

Attributes

Returns

an AttributeKey of the same type as this key, with name transformed by f

Source
AttributeKey.scala