-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[frontend] document instrumentation #444
Conversation
+1 Services table change |
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.
really good one @puckpuck !
It is recommended to use a Node required module when starting your NodeJS | ||
application to initialize the SDK and auto-instrumentation. When initializing | ||
the OpenTelemetry NodeJS SDK, you optionally specify which auto-instrumentation | ||
libraries to leverage, or make use of the `getNodeAutoInstrumentations()` |
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.
Two options are described. It could be added that which one we selected for the demo app and why.
# frontend | ||
|
||
The frontend is responsible to provide a UI for users, as well | ||
as an API leveraged by the UI or other clients. The application is based on |
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.
After the first sentence, there could be a short, high-level description of the two parts of the instrumentation: browser side and the backend.
On my opinion, this PR got merged a bit too fast :) |
That’s fair! I’ll give it 24 hours next time. But we’re also in crunch time and doc tweaks are an easy subsequent pr. Next week will hopefully be all focused on doc review with no code changes |
Also fair and makes sense to get the last code changes into the release. |
Changes
BackendTracer.js
and moved code toInstrumentationMiddleware.js
instead.Some rationale for removing BackendTracer.js: