Comments (3)
Thanks for the tip! In the meantime, you can use import * as tracer from 'dd-trace'
as a workaround.
from dd-trace-js.
We have now released official support for TypeScript. However, you can't import individual methods, and instead have to do:
import tracer from 'dd-trace';
@gajus Would you still prefer to be able to use individual methods as bound functions? I wonder if that would make it confusing since it would be unclear what object the functions are operating on?
from dd-trace-js.
Hey @gajus we're going to close this issue out, but please reach out if you have any further issues!
from dd-trace-js.
Related Issues (20)
- Next.JS plugin integration HOT 5
- Question: Way to map specific aws resources to custom names
- Mapping request headers to baggage keys HOT 1
- Express plugin not working HOT 1
- Kafka.js instrumentation causes unhandled rejections
- Support Mocha parallel tests HOT 3
- dd-trace breaks in ESM when using package with circular imports HOT 2
- Properly name `bulkWrite` operations in the mongo plugin
- datadog-plugin-graphql is not validating if directives is an array HOT 5
- Cypress tests not reporting correctly in CI Testing Visibility with `cypress-fail-fast` HOT 24
- Timeout Errors not Displayed in Datadog Dashboard Despite Successful Reporting with DD_TRACE_DEBUG HOT 9
- Segmentation for monorepos HOT 5
- Official DD-tracer Document should be updated to point out `none` OF DBM option is replaced with value `disabled` HOT 2
- Unhandled rejection thrown with Mongodb 6.4.0 HOT 1
- Add tags to the Service Entry Span in Middleware HOT 1
- How to trace jest with custom environment HOT 1
- Code that outputs neverthrow ResultAsync promise-like objects cannot be traced or wrapped
- Dogstatsd is undefined during jest tests HOT 7
- Added histogram method to dogstatsd
- Difficulties adding TAGS to test executions in CI Test Visibility HOT 6
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 dd-trace-js.