-
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
chore: moved plugins-node-all into contrib repo from opentelemetry-js #184
Conversation
@@ -101,3 +107,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-contrib/tree/master/plugins/web/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 comment
The reason will be displayed to describe this comment to others. Learn more.
will be broken until merge.
@@ -0,0 +1,28 @@ | |||
{ |
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.
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).
"@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 comment
The 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.
@@ -0,0 +1,53 @@ | |||
# OpenTelemetry Plugins Node All |
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.
Fixed the naming here. It was claiming to also be "Node Core"
@@ -16,6 +16,7 @@ jobs: | |||
path: | | |||
node_modules | |||
packages/*/node_modules | |||
metapackages/*/node_modules |
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.
Codecov Report
@@ Coverage Diff @@
## master #184 +/- ##
=======================================
Coverage 95.22% 95.22%
=======================================
Files 93 93
Lines 4756 4756
Branches 492 492
=======================================
Hits 4529 4529
Misses 227 227 |
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.
lgtm
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.
lgtm, minor comment with the new release on the main repo
"@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 comment
The reason will be displayed to describe this comment to others. Learn more.
i think we can bump this to 0.11.0
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.
@michaelgoin can you resolve this then we can merge?
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.
updated.
Per conversation in SIG meeting today, will be renaming this via the new "instrumentation" naming standard which will also allow us to match versions, etc. to avoid the ongoing version issues with the old plugin. |
@michaelgoin up to you if you want to do instrumentation rename in this PR or hold it for a follow-up PR. It might be easier to get it reviewed/merged as 2 separate? Since this is already approved, I can just merge it and you can work on the rename in a new PR? Let me know. Whichever you decide is fine. |
@dyladan sure. lets get this merged and i'll get a new PR in for the rename. |
@dyladan think this is good to go now |
Which problem is this PR solving?
See issue: open-telemetry/opentelemetry-js#1370
Short description of the changes
Part 1 of 2? to migrate plugins-node-all into contrib
Remaining steps (as I understand):
I'll leave a self-review to highlight some decision points (and potential knowledge gaps) for discussion on my mind.