-
Notifications
You must be signed in to change notification settings - Fork 545
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
Difference between module Readmes and examples #831
Comments
Both works. Personally I would prefer to avoid such magic but I doubt that this will be removed as it would most likely break some user code. |
I would also prefer not to have it. It would break user code, but technically it isn't 1.0 yet so it's not too late officially. With tracing being 1.0 we might be stuck with it anyway though. |
Might be off-topic: This reminds me of the inconsistency of the document with the actual implementation of the autoloading of instrumentation: open-telemetry/opentelemetry-js#2410 (comment) & open-telemetry/opentelemetry-js#1989. If we are going to update the instrumentation API, I'd think they should be considered too. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stale for 14 days with no activity. |
Usage of
registerInstrumentations
is likeat https://www.npmjs.com/package/@opentelemetry/instrumentation-express
but its used like
without getting instances of classes here.
https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/examples/express/tracer.js
The text was updated successfully, but these errors were encountered: