-
-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datadog tracing not working #889
Comments
@imatefx what's the version of |
I was using
But the _destroy function still exists if I initialize the spans object I get this error
But the _destroy function is there in dd-trace library The tests are passing even with the latest dd-trace library |
What if you force {
type: "Datadog",
options: {
// Datadog Agent URL
agentUrl:
process.env.DD_AGENT_URL,
// Environment variable
env: process.env.DD_ENVIRONMENT || null,
// Sampling priority. More info: https://docs.datadoghq.com/tracing/guide/trace_sampling_and_storage/?tab=java#sampling-rules
samplingPriority: "AUTO_KEEP",
// Default tags. They will be added into all span tags.
defaultTags: null,
// Custom Datadog Tracer options. More info: https://datadog.github.io/dd-trace-js/#tracer-settings
- tracerOptions: null
+ tracerOptions: {
+ scope: 'async_hooks',
+ }
}
} |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Current Behavior
Expected Behavior
Tracing spans should be pushed to datadog
Failure Information
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
The text was updated successfully, but these errors were encountered: