struct OpenTelemetry::Proto::Logs::V1::ResourceLogs
- OpenTelemetry::Proto::Logs::V1::ResourceLogs
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/logs.pb.crConstant Summary
-
FIELDS =
{1 => {name: :resource, pb_type: OpenTelemetry::Proto::Resource::V1::Resource, crystal_type: OpenTelemetry::Proto::Resource::V1::Resource, cast_type: OpenTelemetry::Proto::Resource::V1::Resource?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :scope_logs, pb_type: ScopeLogs, crystal_type: ScopeLogs, cast_type: Array(ScopeLogs)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 1000 => {name: :instrumentation_library_logs, pb_type: InstrumentationLibraryLogs, crystal_type: InstrumentationLibraryLogs, cast_type: Array(InstrumentationLibraryLogs)?, 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(resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil = nil, scope_logs : Array(ScopeLogs) | Nil = nil, instrumentation_library_logs : Array(InstrumentationLibraryLogs) | Nil = nil, schema_url : String | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #instrumentation_library_logs : Array(InstrumentationLibraryLogs) | Nil
- #instrumentation_library_logs=(instrumentation_library_logs : Array(InstrumentationLibraryLogs) | Nil)
- #resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil
- #resource=(resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil)
- #schema_url : String | Nil
- #schema_url=(schema_url : String | Nil)
- #scope_logs : Array(ScopeLogs) | Nil
- #scope_logs=(scope_logs : Array(ScopeLogs) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(resource : OpenTelemetry::Proto::Resource::V1::Resource | Nil = nil, scope_logs : Array(ScopeLogs) | Nil = nil, instrumentation_library_logs : Array(InstrumentationLibraryLogs) | Nil = nil, schema_url : String | Nil = nil)
#
Class Method Detail
Instance Method Detail
def instrumentation_library_logs=(instrumentation_library_logs : Array(InstrumentationLibraryLogs) | Nil)
#