Skip to content

Commit

Permalink
Change DEFAULT_PLUGIN_PACKAGE_NAME_PREFIX to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Jul 30, 2019
1 parent 98a9916 commit 320cd38
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export const constants = {
/** opentelemetry scope */
OPENTELEMETRY_SCOPE: '@opentelemetry',
/** Default prefix for instrumentation modules */
DEFAULT_PLUGIN_PACKAGE_NAME_PREFIX: 'instrumentation',
DEFAULT_PLUGIN_PACKAGE_NAME_PREFIX: 'plugin',
};

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ describe('Instrumentation#utils', () => {
it('should return package name with default scope and a prefix', () => {
assert.strictEqual(
utils.defaultPackageName('http'),
'@opentelemetry/instrumentation-http'
'@opentelemetry/plugin-http'
);
assert.strictEqual(
utils.defaultPackageName('simple-module'),
'@opentelemetry/instrumentation-simple-module'
'@opentelemetry/plugin-simple-module'
);
});
});
Expand Down

0 comments on commit 320cd38

Please sign in to comment.