Skip to content
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

Remove last dependencies on SDK package, improve version detection #461

Merged
merged 9 commits into from
Oct 18, 2024

Conversation

raphael-theriault-swi
Copy link
Member

This is a pretty big change since all references to the old config types had to be removed. Now everything is self contained in the solarwinds-apm package. What remains after this is deleting the SDK package and any logic to target CommonJS.

@raphael-theriault-swi raphael-theriault-swi requested a review from a team as a code owner October 12, 2024 01:42
Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @raphael-theriault-swi please see my comments. One other question i'll ping you tomorrow on is regarding the HostID and __Init message when in OTLP mode.

packages/solarwinds-apm/src/commonjs/version.js Outdated Show resolved Hide resolved
packages/solarwinds-apm/src/commonjs/index.js Show resolved Hide resolved
packages/solarwinds-apm/src/config.ts Show resolved Hide resolved
@@ -14,363 +14,296 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, the big payoff--just skimmed this file but seeing what you did to get waitUntilReady working for this OTLP/AO switch gave me hint of the effort that went into the rewrite, kudos!

@raphael-theriault-swi
Copy link
Member Author

For the __Init message, all of the values that are used for displaying metadata are already set as resource attributes.

Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the explanation and revisits @raphael-theriault-swi! We'll tackle the HostID item as a follow on.

@raphael-theriault-swi raphael-theriault-swi merged commit a37d5f3 into next Oct 18, 2024
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants