Dependent on #1690
OTLP Exporter should populate InstrumentationScope attributes from OtlpRecordable to the proto buffer. Currently it populates name and version.
Reference:
|
output_scope_log->mutable_scope()->set_name(input_scope_log.first->GetName()); |
|
output_scope_log->mutable_scope()->set_version(input_scope_log.first->GetVersion()); |
https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/common/v1/common.proto#LL71-L77
// InstrumentationScope is a message representing the instrumentation scope information
// such as the fully qualified name and version.
message InstrumentationScope {
// An empty instrumentation scope name means the name is unknown.
string name = 1;
string version = 2;
repeated KeyValue attributes = 3;
uint32 dropped_attributes_count = 4;
}
Dependent on #1690
OTLP Exporter should populate InstrumentationScope
attributesfrom OtlpRecordable to the proto buffer. Currently it populatesnameandversion.Reference:
opentelemetry-cpp/exporters/otlp/src/otlp_recordable_utils.cc
Lines 120 to 121 in 7c0826e
https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/common/v1/common.proto#LL71-L77