Skip to content

Commit

Permalink
fix: remove usage of serviceName property in tests for otel collector (
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafain117 authored Sep 25, 2021
1 parent 6a78db1 commit 33935e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ describe('OTLPMetricExporter - node with json over http', () => {
// Need to stub/spy on the underlying logger as the "diag" instance is global
const spyLoggerWarn = sinon.stub(diag, 'warn');
collectorExporter = new OTLPMetricExporter({
serviceName: 'basic-service',
url: address,
metadata,
} as any);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ describe('OTLPTraceExporter - node with json over http', () => {
// Need to stub/spy on the underlying logger as the "diag" instance is global
const spyLoggerWarn = sinon.stub(diag, 'warn');
collectorExporter = new OTLPTraceExporter({
serviceName: 'basic-service',
metadata,
url: address,
} as any);
Expand Down

0 comments on commit 33935e7

Please sign in to comment.