-
Notifications
You must be signed in to change notification settings - Fork 838
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
Add HTTP plugin #157
Comments
Related: |
@OlivierAlbertini I fail to see why #146 need to be merged, it only add internal stuff to the ah propagation which will not be exposed anyway |
Hello @vmarchaud For HTTP plugin, we need to wrap request and response object for event emitters. I thought that this PR added the propagation for event emitters. EDIT: I see that bind method is already present. It's just matter of testing with the real implementation. Since it's not mandatory, I can start the implementation. Thanks @vmarchaud. |
I was going to explain the bind method but you edited your comment ^^ |
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
Closes open-telemetry#157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
* feat(plugin): add http plugin Closes #157 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: integrate vmarchaud recommandations Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: wip revert - gts fix issue on all packages Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: integrate mayurkale22 recommendations Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * ci: gts fix for ci build Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * refactor: add mayurkale22 recommendations Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: integrate bg451 recommendations test: increase coverage fix: attributes requirements from the spec. Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add missing header and revert scopeManager to private field test: rename some tests fix: copy/paste tests Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add tests and improve attributes from spec fix parentSpanId instead of parentId from rebase add workaround with got and node12+ (real http call) improve args passed to function (url, options, cb) Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add mayurkale22 recommendations Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: rebase and remove/replace wrapEmitter to bind Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add Flarna recommendations fix: add Flarna recommendations fix: tests fix: OC bugs in OT only test: add assertions Allow options object as second argument Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * refactor: simplify propagation usage Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add Flarna recommandations Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * refactor(test): use ReadableSpan Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * feat: export class/enums for https module Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * refactor: plugin.enable has logger param Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca> * fix: add license header, rename enum files and refactoring refactor: make integration tests mandatory for ci only remove duplicate tests remove dead comments Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
…ed-dependabot-update chore: bump codecov
Add
opentelemetry-plugin-http
to allow the user to automatically collect trace data. The package should be used by both server and client. This should be based onBasePlugin
interface: https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-core/src/trace/instrumentation/BasePlugin.ts#L20OpenCensus reference implementation: https://github.com/census-instrumentation/opencensus-node/tree/master/packages/opencensus-instrumentation-http
The text was updated successfully, but these errors were encountered: