class OpenTelemetry::Proto::Trace::V1::InstrumentationLibrarySpans
- OpenTelemetry::Proto::Trace::V1::InstrumentationLibrarySpans
- Reference
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/trace.pb.crConstant Summary
-
FIELDS =
{1 => {name: :instrumentation_library, pb_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary, crystal_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary, cast_type: OpenTelemetry::Proto::Common::V1::InstrumentationLibrary?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :spans, pb_type: Span, crystal_type: Span, cast_type: Array(Span)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :schema_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil = nil, spans : Array(Span) | Nil = nil, schema_url : String | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil
- #instrumentation_library=(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil)
- #schema_url : String | Nil
- #schema_url=(schema_url : String | Nil)
- #spans : Array(Span) | Nil
- #spans=(spans : Array(Span) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil = nil, spans : Array(Span) | Nil = nil, schema_url : String | Nil = nil)
#
Class Method Detail
Instance Method Detail
def instrumentation_library=(instrumentation_library : OpenTelemetry::Proto::Common::V1::InstrumentationLibrary | Nil)
#