Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
docs: improve docs around bundlers/transpilers, methods of starting the agent #2837
docs: improve docs around bundlers/transpilers, methods of starting the agent #2837
Changes from 15 commits
ab89fce
d441fae
e7a3ee7
9f741a5
2b0f892
412e404
9023c1e
b1ac9a1
bb4587a
ad0cf5c
87b2157
de96baf
ebbdbd4
e49f497
855df00
78d8fde
1a371c7
d67d660
60bb3a7
4f12d50
5a7360e
515709d
c9fb5c3
e76ab76
d410b09
0e305c1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
TIL: we have a deleted pages page.
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.
Yeah! They're perfect for this use case.
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.
TIL: we have a doc named
set-up.asciidoc
and a doc namedsetup.asciidoc
.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.
Yah, it drives me crazy. :) And an
<<advanced-setup>>
anchor that is labelled "Configuration", but a separate<<configuration>>
anchor that is labelled "Configuration options". Neither of these are in the "Set up the Agent" section.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.
The second sentence is very long (and has multiple parentheticals). Can we break it up? What about something like this?
Also, what do you mean when you say "rarely used"? Is there a use case for this method and CommonJS that we should explain?
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.
There isn't a use case for this beyond saving a couple keystrokes over
require('elastic-apm-node').start()
at the cost of not having a way to pass options to that.start()
call.@bmorelli25 How about I just drop the reference to CommonJS usage completely? There is no harm if a
require
-using programmer uses this form. So something like this: