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

fix service name when tracer is imported by a dependency #724

Merged
merged 3 commits into from
Oct 25, 2019

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Oct 24, 2019

What does this PR do?

Fix service name when tracer is imported by a dependency.

Motivation

We find the service name by locating the closest package.json relative to the path of the parent module that imported the tracer. This can be a library used by the app and not the app itself however.

Fixes #710

@rochdev rochdev added bug Something isn't working core labels Oct 24, 2019
@rochdev rochdev added this to the 0.15.5 milestone Oct 24, 2019
@rochdev rochdev requested a review from a team as a code owner October 24, 2019 19:49
@rochdev rochdev merged commit 9f9af17 into master Oct 25, 2019
@rochdev rochdev deleted the fix-service-name-in-shared-dep branch October 25, 2019 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default service name defaults to potentially incorrect value
2 participants