Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/node/src/integrations/tracing/nest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
} from '@sentry/core';
import type { IntegrationFn, Span } from '@sentry/types';
import { addNonEnumerableProperty, logger } from '@sentry/utils';
import type { Observable } from 'rxjs';
import { generateInstrumentOnce } from '../../otel/instrument';

interface MinimalNestJsExecutionContext {
Expand Down Expand Up @@ -61,6 +60,13 @@ const supportedVersions = ['>=8.0.0 <11'];

const sentryPatched = 'sentryPatched';

/**
* A minimal interface for an Observable.
*/
export interface Observable<T> {
subscribe(observer: (value: T) => void): void;
}

/**
* A NestJS call handler. Used in interceptors to start the route execution.
*/
Expand Down