-
Notifications
You must be signed in to change notification settings - Fork 542
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
chore: moved plugins-node-all into contrib repo from opentelemetry-js #184
Changes from 3 commits
b8a0568
d80af3e
a74b923
c3458be
de55eeb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,12 @@ OpenTelemetry can collect tracing data automatically using plugins. Vendors/User | |
- [@opentelemetry/plugin-user-interaction][otel-plugin-user-interaction] | ||
- [@opentelemetry/plugin-react-load][otel-plugin-react-load] | ||
|
||
### Metapackages | ||
|
||
Multiple plugins may be leveraged via metapackages. | ||
|
||
- [@opentelemetry/plugins-node-all][otel-plugins-node-all] - all officially supported core and contrib plugins. | ||
|
||
## Contributing | ||
|
||
We'd love your help!. Use tags [up-for-grabs][up-for-grabs-issues] and | ||
|
@@ -105,3 +111,4 @@ Apache 2.0 - See [LICENSE][license-url] for more information. | |
[otel-plugin-user-interaction]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/web/opentelemetry-plugin-user-interaction | ||
[otel-plugin-xml-http-request]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-plugin-xml-http-request | ||
[otel-plugin-express]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-express | ||
[otel-plugins-node-all]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/metapackages/plugins-node-all | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will be broken until merge. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# OpenTelemetry Plugins Node All | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed the naming here. It was claiming to also be "Node Core" |
||
|
||
[![Gitter chat][gitter-image]][gitter-url] | ||
[![NPM Published Version][npm-img]][npm-url] | ||
[![dependencies][dependencies-image]][dependencies-url] | ||
[![Apache License][license-image]][license-image] | ||
|
||
This package depends on all node plugins maintained by OpenTelemetry authors. | ||
Installing it will also install all plugins. | ||
|
||
## Plugins | ||
|
||
In addition to all [node core plugins][otel-plugins-node-core], the following plugins will be installed by this package: | ||
|
||
- [@opentelemetry/plugin-express][otel-plugin-express] | ||
- [@opentelemetry/plugin-ioredis][otel-plugin-ioredis] | ||
- [@opentelemetry/plugin-mongodb][otel-plugin-mongodb] | ||
- [@opentelemetry/plugin-mysql][otel-plugin-mysql] | ||
- [@opentelemetry/plugin-pg-pool][otel-plugin-pg-pool] | ||
- [@opentelemetry/plugin-pg][otel-plugin-pg] | ||
- [@opentelemetry/plugin-redis][otel-plugin-redis] | ||
|
||
Note: [@opentelemetry/plugin-dns][otel-plugin-dns] is excluded by default because it requires some manual configuration to prevent infinite loops with exporters. | ||
|
||
## Useful links | ||
|
||
- For more information on OpenTelemetry, visit: <https://opentelemetry.io/> | ||
- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js> | ||
- For help or feedback on this project, join us on [gitter][gitter-url] | ||
|
||
## License | ||
|
||
Apache 2.0 - See [LICENSE][license-url] for more information. | ||
|
||
[gitter-image]: https://badges.gitter.im/open-telemetry/opentelemetry-js.svg | ||
[gitter-url]: https://gitter.im/open-telemetry/opentelemetry-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge | ||
[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/master/LICENSE | ||
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat | ||
[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/status.svg?path=metapackages/plugins-node-core | ||
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetryplugins-node-core | ||
[npm-url]: https://www.npmjs.com/package/@opentelemetry/plugins-node-core | ||
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fplugins-node-core.svg | ||
|
||
[otel-plugins-node-core]: https://www.npmjs.com/package/@opentelemetry/plugins-node-core | ||
|
||
[otel-plugin-dns]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-dns | ||
[otel-plugin-express]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-express | ||
[otel-plugin-ioredis]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-ioredis | ||
[otel-plugin-mongodb]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-mongodb | ||
[otel-plugin-mysql]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-mysql | ||
[otel-plugin-pg-pool]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-pg-pool | ||
[otel-plugin-pg]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-pg | ||
[otel-plugin-redis]: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node/opentelemetry-plugin-redis |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I put this in metapackages to be consistent with where/how it was organized in opentelemetry-js. An argument could be made for nesting somewhere in plugins but I do see value in surfacing up it is a package of packages. I'm open to suggestions if the current approach is not preferred (or we can always tweak later). |
||
"name": "@opentelemetry/plugins-node-all", | ||
"version": "0.10.2", | ||
"description": "Metapackage which bundles opentelemetry node core and contrib plugins", | ||
"author": "OpenTelemetry Authors", | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js#readme", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/open-telemetry/opentelemetry-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/open-telemetry/opentelemetry-js/issues" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/plugin-express": "0.9.0", | ||
"@opentelemetry/plugin-ioredis": "0.9.0", | ||
"@opentelemetry/plugin-mongodb": "0.9.0", | ||
"@opentelemetry/plugin-mysql": "0.9.0", | ||
"@opentelemetry/plugin-pg": "0.9.0", | ||
"@opentelemetry/plugin-pg-pool": "0.9.0", | ||
"@opentelemetry/plugin-redis": "0.9.0", | ||
"@opentelemetry/plugins-node-core": "^0.10.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is my understanding this gets tweaked on release, so I did not touch this area to deal with the current issue. I assume this will get resolved when we release/publish. Let me know if that is not the right approach. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think we can bump this to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @michaelgoin can you resolve this then we can merge? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated. |
||
} | ||
} |
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.
This seemed like the only place that likely needing something added. Nothing in the CircleCI setup seemed like it would need tweaking but perhaps I missed something.
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.
You also need to add metapackages to the lerna.json
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.
Sorry, I meant with regards to the CI configuration files (circle VS actions). I did add to lerna.json with this PR but definitely double-check I did correctly.
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.
Ah sorry I just saw "This seemed like the only place that likely needing something added" and my brain was on autopilot.
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.
No problem. I definitely should have been clearer.