Skip to content

Commit

Permalink
Remove deprecated interface
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Dec 14, 2023
1 parent d708442 commit 8ebed75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions experimental/packages/otlp-transformer/src/trace/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ function spanRecordsToResourceSpans(
while (!ilmEntry.done) {
const scopeSpans = ilmEntry.value;
if (scopeSpans.length > 0) {
const { name, version, schemaUrl } =
scopeSpans[0].instrumentationScope;
const { name, version, schemaUrl } = scopeSpans[0].instrumentationScope;
const spans = scopeSpans.map(readableSpan =>
sdkSpanToOtlpSpan(readableSpan, encoder)
);
Expand Down

0 comments on commit 8ebed75

Please sign in to comment.