Skip to content

Commit 645ff53

Browse files
kamilogorekHazAT
authored andcommitted
feat: APM (#2161)
* wip: APM * Update tracing.ts and hub interface * feat: Some cleanup and changes * feat: Add data/tags to span, Clear finishedSpans * fix: Sampled, parent span id and tests * fix: Sampled spans * fix: Detect internal sentry requests * meta: Changelog * ref: Rename SpanProps to SpanContext * fix: SpanContext var name, Timestamp in secs * feat: Add simple API, timestampWithMs helper * fix: Use timestampWithMs * feat: Expose minimal API * feat: Add more tests * fix: Test * meta: beta.3 * meta: beta.4 * Next iteration of span API * Add status to transactions * fix: Span changes * ref: naming * fix: Remove finishSpan from core, node and browser exports * fix: Linter for tests * fix: Add finish method to the Span interface * Bring APM implementation up to date with python * feat: Instrument http integration to emit breadcrumbs and/or spans * feat: Rework console integration * feat: tracingHandler for APM * feat: Express middleware tracing integration * fix: Make rewritten http integration work in pre v9 node versions * ref: Mark failed transactions * Remove express types from deps and add better docs * ref: Pre-release linter and tests patches * meta: Bump to 5.8.0-beta.0 * feat: TransactionActivity Integration * feat: Finish transaction with timestamp * feat: Improvements in transaction creating * meta: Bump * feat: Use timestamp of last span * feat: Location change auto transaction * fix: Merge * fix: Comment * ref: Uncomment tests for now * feat: Add tracingSampleRate * feat: Auto tracking XHR * fix: Not initalized integration * fix: Use scope instead of configureScope * fix: Scope * feat: Add data before finish span * fix: Remove unused options * feat: Move Hub and Span to apm package * fix: Node build * meta: Cleanup * feat: Refactor to use global extension hub method * ref: Move code into tracing integration * feat: Add shouldCreateSpanForRequest option * feat: Add fetch tracking * ref: Use correct SpanStatus types according to spec * feat: Move instrumentation and dsn to utils * feat: Auto status code, Fix idle navigation transaction * feat: Readme, lint, changelog * fix: Dont clash between span and scope trace context data * meta: Docs for options
1 parent 4905a84 commit 645ff53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+15484
-793
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
## Unreleased
44

5+
- [hub] feat: Add more span functions (#2161)
6+
- [integrations] feat: Change `Tracing` integration (#2161)
57
- [browser] feat: Refactor breadcrumbs integration to allow for custom handlers
8+
- [utils] feat: Move insturment to utils
9+
- [apm] feat: Add `@sentry/apm` package
610

711
## 5.9.1
812

dangerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { resolve } from 'path';
55
import tslint from 'danger-plugin-tslint';
66
import { prettyResults } from 'danger-plugin-tslint/dist/prettyResults';
77

8-
const packages = ['browser', 'core', 'hub', 'integrations', 'minimal', 'node', 'types', 'utils'];
8+
const packages = ['apm', 'browser', 'core', 'hub', 'integrations', 'minimal', 'node', 'types', 'utils'];
99

1010
export default async () => {
1111
if (!danger.github) {

0 commit comments

Comments
 (0)