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