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

chore: deprecate SPLUNK_SERVICE_NAME #170

Merged

Conversation

jtmalinowski
Copy link
Contributor

@jtmalinowski jtmalinowski commented Jul 7, 2021

Use OTel's OTEL_SERVICE_NAME instead of SPLUNK_SERVICE_NAME

Description

Correcting this unnecessary divergence from the standard.

Also, needed for smoother migration process (#168)

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Tested manually
  • Added automated tests

Checklist:

  • Changelogs have been updated
  • Unit tests have been added/updated
  • Documentation has been updated

Instead use OTel's OTEL_SERVICE_NAME
@jtmalinowski jtmalinowski requested review from a team as code owners July 7, 2021 14:46
@@ -154,6 +157,8 @@ describe('tracing', () => {
maxAttrLength,
logInjectionEnabled
);
stopTracing();
Copy link
Contributor

Choose a reason for hiding this comment

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

What was the reason stopTracing was added to tests? Here and at loginjection

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, so I made a mistake while coding, and I mistakenly thought that the tests were not passing because another test was overwriting the globals. However, I left stopTracing in place because deregistering is necessary for some tests in signalfx/otel-js-web, so I'm expecting that sooner or later it will be needed in this library too.

@jtmal-signalfx jtmal-signalfx merged commit e337742 into signalfx:main Jul 8, 2021
@jtmalinowski jtmalinowski deleted the chore/rename-env-service-name branch July 8, 2021 13:51
@seemk seemk mentioned this pull request Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants