[Metrics] Upgrade instrumentation_library_metrics
to scope_metrics
#1492
Labels
good first issue
Good for newcomers
help wanted
Good for taking. Extra help will be provided by maintainers
metrics
Milestone
Is your feature request related to a problem?
According to https:/open-telemetry/opentelemetry-proto/blob/v0.17.0/opentelemetry/proto/metrics/v1/metrics.proto ,
instrumentation_library_metrics
is deprecated and removed in https:/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/metrics/v1/metrics.proto , we should upgrade to usescope_metrics
instead, just like traces and logs.Describe the solution you'd like
instrumentation_info_metric_data_
inResourceMetrics
andinstrumentation_info_metrics
inMetricCollector::Collect
PopulateResourceMetrics
toscope_metrics
in OTLP exportersInstrumentationInfoMetrics
toScopeMetrics
instrumentation_library_
toscope_
instrumentation_metrics
toscope_metrics
The text was updated successfully, but these errors were encountered: