For both spans and metrics, we should be including the OTel scope. See collector fixtures for implementation details: - Trace `otel.scope.*`: https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/d637680bde0cb1e4d06117621478e5ac281ff556/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json#L112C1-L121C17 - Metrics `instrumentation_scope` and `instrumentation_version`: https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/d637680bde0cb1e4d06117621478e5ac281ff556/exporter/collector/integrationtest/testdata/fixtures/logs/logs_apache_error_scope_expected.json#L21-L22
For both spans and metrics, we should be including the OTel scope. See collector fixtures for implementation details:
otel.scope.*: https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/d637680bde0cb1e4d06117621478e5ac281ff556/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json#L112C1-L121C17instrumentation_scopeandinstrumentation_version: https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/d637680bde0cb1e4d06117621478e5ac281ff556/exporter/collector/integrationtest/testdata/fixtures/logs/logs_apache_error_scope_expected.json#L21-L22