-
Notifications
You must be signed in to change notification settings - Fork 141
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
update README and rename LICENSE #222
Conversation
README.md
Outdated
|
||
### Disabling automatic collection | ||
To correlate events in a request across callbacks and dependencies, you'll need | ||
to call `.setAutoDependencyCorrelation(true)`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of calling setAutoDependencyCorrelatio out separately, I would include a comment for each entry below
README.md
Outdated
.setAutoCollectExceptions(false) | ||
.setAutoCollectDependencies(false) | ||
// no telemetry will be sent until .start() is called | ||
.setAutoDependencyCorrelation(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is false default (without explanation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OsvaldoRosado set it up that way originally, discussion here on defaulting to true beginning in 0.20. I'll update this based on outcome there, in the meantime will note that this is experimental.
res.writeHead(200, { "Content-Type": "text/plain" }); | ||
res.end("Hello World\n"); | ||
}).listen(port); | ||
* Manually track all HTTP GET requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably mention that in this case you want to set .setAutoCollectRequests(true)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean .setAutoCollectRequests(false)
? I added that now.
657974d
to
99e6695
Compare
@OsvaldoRosado @AlexBulankou updated this to address your feedback, PTAL. I'll do another pass in a few days, I think this can be merged now though if you'd like. Thanks! |
|
No description provided.