Comments (3)
@Krishan27 as of now, the only way I figured out to get rid of this is by forcing typescript to ignore the error by adding these two lines
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
spanProcessor: new SimpleSpanProcessor(
new OTLPTraceExporter({
url: 'http://jaeger:4318/v1/traces',
}),
),
from nestjs-opentelemetry.
I updated the otel libraries to latest versions and it resolved that issue. Obviously I copied the code to my internal libs to use that versions.
from nestjs-opentelemetry.
I've been working on a fork that is using the latest versions and aim to solve this issue plus adding more features, like tracing nestjs microservices providers, a generic wrapper to trace classes not part of the nestjs DI and more.
Have a look if you want https://github.com/amplication/opentelemetry-nestjs
from nestjs-opentelemetry.
Related Issues (20)
- Production build error HOT 1
- Nest can't resolve dependencies of the EventSubscribersLoader HOT 1
- Type 'SimpleSpanProcessor' is not assignable to type 'SpanProcessor' HOT 9
- Disable Http Instrumentation HOT 1
- Question: plan to re-introduce Auto Metric Observers? HOT 2
- Nest can't resolve dependencies of the ControllerInjector HOT 5
- `MetricAutoObserver` doesn't work when I register module using `forRootAsync`
- Unable to use with @opentelemetry/exporter-prometheus HOT 3
- OTEL metrics SDK is already stable. Do you plan to support metric decorators and Auto Observers? HOT 1
- Deprecation warning: @opentelemetry/api-metrics @ 0.32.0 to >= 1.3.0
- Some issue when record tracing log on guard HOT 2
- Bug: Parent span duration is not correctly calculated HOT 1
- Just getting path logs
- ERROR [ExceptionHandler] Nest can't resolve dependencies of the SDK_INJECTORS (OPEN_TELEMETRY_SDK_CONFIG, ?) HOT 2
- How to send the deployment.environment attribute? HOT 1
- It gets messy debugging with open telemetry enable
- QUESTION: Is it possible to integrate new relic exporter to send metrics?
- Is this package alive? HOT 2
- useClass is missing when importing the module via forRootAsync
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-opentelemetry.