Attributes

org.typelevel.otel4s.Attributes
See theAttributes companion trait

Attributes

Companion
trait
Source
Attributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Attributes.type

Members list

Type members

Classlikes

final class Builder extends Builder[Attribute[_], Attributes]

A mutable builder of Attributes.

A mutable builder of Attributes.

Attributes

Source
Attributes.scala
Supertypes
trait Growable[Attribute[_]]
trait Clearable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

override def apply(attributes: Attribute[_]*): Attributes

Creates Attributes with the given attributes.

Creates Attributes with the given attributes.

Value parameters

attributes

the attributes to use

Attributes

Note

if there are duplicated keys in the given attributes, only the last occurrence will be retained.

Definition Classes
Source
Attributes.scala

Returns empty Attributes.

Returns empty Attributes.

Attributes

Source
Attributes.scala

Creates Attributes from the given collection.

Creates Attributes from the given collection.

Value parameters

attributes

the attributes to use

Attributes

Note

if there are duplicated keys in the given attributes, only the last occurrence will be retained.

Source
Attributes.scala

Creates an empty Builder of Attributes.

Creates an empty Builder of Attributes.

Attributes

Source
Attributes.scala

Inherited methods

def fill(n: Int)(elem: => Attribute[_]): Attributes

Attributes

Inherited from:
SpecificIterableFactory

Implicits

Implicits

implicit val hashAttributes: Hash[Attributes]

Attributes

Source
Attributes.scala

Attributes

Source
Attributes.scala
implicit val showAttributes: Show[Attributes]

Attributes

Source
Attributes.scala

Inherited implicits

Attributes

Inherited from:
SpecificIterableFactory