Skip to content

no exported member 'LogLevel' #2145

Closed
@rgarcia

Description

Please answer these questions before submitting a bug report.

What version of OpenTelemetry are you using?

latest published release

What version of Node are you using?

v12

Please provide the code you used to setup the OpenTelemetry SDK

the example here https://github.com/open-telemetry/opentelemetry-js/blob/main/getting-started/ts-example/README.md#initialize-a-global-tracer

What did you do?

ran that example code

What did you expect to see?

successfully compiled code

What did you see instead?

two compile errors

Module '".../node_modules/@opentelemetry/core/build/src/ index"' has no exported member 'LogLevel'. (2305)
tracing.ts (9,3): Argument of type '{ logLevel: any; }' is not assignable to parameter of type 'NodeTracerConfig'.

Additional context

Add any other context about the problem here.

Metadata

Assignees

Labels

documentDocumentation-related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions