Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
OpenTelemetry::Attribute(K)
Inherits
Struct
/
Value
/
Object
Constructors
new
(key :
String
, value :
K
)
Source
new
(value :
K
)
Source
Class methods
from_a
(ary)
Source
from_h
(hash)
Source
to_anyvalue
(attribute)
Source
Instance methods
key
Source
to_bool
Source
to_f
Source
to_h
Source
to_i
Source
to_s
(io :
IO
) :
Nil
Same as
#inspect(io)
.
Source
value
Source