Skip to content

Commit

Permalink
fix: APM -> tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Jul 2, 2020
1 parent f08c29d commit ab7d985
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions packages/tracing/README.md
Expand Up @@ -5,11 +5,11 @@
<br />
</p>

# Sentry APM Extensions
# Sentry Tracing Extensions

[![npm version](https://img.shields.io/npm/v/@sentry/apm.svg)](https://www.npmjs.com/package/@sentry/apm)
[![npm dm](https://img.shields.io/npm/dm/@sentry/apm.svg)](https://www.npmjs.com/package/@sentry/apm)
[![npm dt](https://img.shields.io/npm/dt/@sentry/apm.svg)](https://www.npmjs.com/package/@sentry/apm)
[![npm version](https://img.shields.io/npm/v/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing)
[![npm dm](https://img.shields.io/npm/dm/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing)
[![npm dt](https://img.shields.io/npm/dt/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing)
[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/)

## Links
Expand All @@ -19,4 +19,4 @@

## General

This package contains extensions to the `@sentry/hub` to enable APM related functionality. It also provides integrations for Browser and Node that provide a good experience out of the box.
This package contains extensions to the `@sentry/hub` to enable Sentry AM related functionality. It also provides integrations for Browser and Node that provide a good experience out of the box.
6 changes: 3 additions & 3 deletions packages/tracing/package.json
@@ -1,9 +1,9 @@
{
"name": "@sentry/apm",
"name": "@sentry/tracing",
"version": "5.19.0",
"description": "Extensions for APM",
"description": "Extensions for Tracing",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/apm",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/tracing",
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/tracing/rollup.config.js
Expand Up @@ -61,19 +61,19 @@ const bundleConfig = {
...plugins,
license({
sourcemap: true,
banner: `/*! @sentry/apm & @sentry/browser <%= pkg.version %> (${commitHash}) | https://github.com/getsentry/sentry-javascript */`,
banner: `/*! @sentry/tracing & @sentry/browser <%= pkg.version %> (${commitHash}) | https://github.com/getsentry/sentry-javascript */`,
}),
],
};

export default [
// ES5 Browser APM Bundle
// ES5 Browser Tracing Bundle
{
...bundleConfig,
input: 'src/index.bundle.ts',
output: {
...bundleConfig.output,
file: 'build/bundle.apm.js',
file: 'build/bundle.tracing.js',
},
plugins: bundleConfig.plugins,
},
Expand All @@ -82,7 +82,7 @@ export default [
input: 'src/index.bundle.ts',
output: {
...bundleConfig.output,
file: 'build/bundle.apm.min.js',
file: 'build/bundle.tracing.min.js',
},
// Uglify has to be at the end of compilation, BUT before the license banner
plugins: bundleConfig.plugins
Expand Down
2 changes: 1 addition & 1 deletion packages/tracing/src/hubextensions.ts
Expand Up @@ -84,7 +84,7 @@ function startSpan(this: Hub, context: SpanContext): Transaction | Span {
}

/**
* This patches the global object and injects the APM extensions methods
* This patches the global object and injects the Tracing extensions methods
*/
export function addExtensionMethods(): void {
const carrier = getMainCarrier();
Expand Down

0 comments on commit ab7d985

Please sign in to comment.