Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Mar 11, 2020
1 parent 1fbb2ab commit 0570ca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ describe('Stackdriver Trace Exporter', () => {
isRemote: true,
},
status: { code: types.CanonicalCode.OK },
resource: new Resource({
service: 'ui',
version: 1,
cost: 112.12,
}),
resource: Resource.empty(),
};

const result = await new Promise((resolve, reject) => {
Expand Down
6 changes: 1 addition & 5 deletions packages/opentelemetry-exporter-zipkin/test/zipkin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ function getReadableSpan() {
attributes: {},
links: [],
events: [],
resource: new Resource({
service: 'ui',
version: 1,
cost: 112.12,
}),
resource: Resource.empty(),
};
return readableSpan;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-tracing/src/Span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import {
isTimeInput,
timeInputToHrTime,
} from '@opentelemetry/core';
import { Resource } from '@opentelemetry/resources';
import { ReadableSpan } from './export/ReadableSpan';
import { Tracer } from './Tracer';
import { SpanProcessor } from './SpanProcessor';
import { TraceParams } from './types';
import { Resource } from '@opentelemetry/resources';

/**
* This class represents a span.
Expand Down

0 comments on commit 0570ca7

Please sign in to comment.