feat(node): Wire up SentryTracerProvider #49538
Annotations
2 errors and 1 notice
|
Run E2E test
Process completed with exit code 1.
|
|
Run E2E test:
../../_temp/test-application/tests/transactions.test.ts#L56
1) [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ──────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 36
+ Received + 265
@@ -1,116 +1,345 @@
- ObjectContaining {
- "spans": ArrayContaining [
+ Object {
+ "contexts": Object {
+ "app": Object {
+ "app_memory": 140251136,
+ "app_start_time": "2026-06-25T23:55:02.097Z",
+ "free_memory": 14362624000,
+ },
+ "cloud_resource": Object {},
+ "culture": Object {
+ "locale": "en-US",
+ "timezone": "UTC",
+ },
+ "device": Object {
+ "arch": "x64",
+ "boot_time": "2026-06-25T23:53:12.992Z",
+ "cpu_description": "AMD EPYC 9V45 96-Core Processor",
+ "free_memory": 14362624000,
+ "memory_size": 16766423040,
+ "processor_count": 4,
+ "processor_frequency": 0,
+ },
+ "os": Object {
+ "kernel_version": "6.17.0-1018-azure",
+ "name": "Ubuntu Linux",
+ "version": "24.04",
+ },
+ "otel": Object {
+ "resource": Object {
+ "service.name": "node",
+ "service.namespace": "sentry",
+ "service.version": "10.61.0",
+ "telemetry.sdk.language": "nodejs",
+ "telemetry.sdk.name": "opentelemetry",
+ "telemetry.sdk.version": "2.8.0",
+ },
+ },
+ "response": Object {
+ "status_code": 200,
+ },
+ "runtime": Object {
+ "name": "node",
+ "version": "v20.19.5",
+ },
+ "trace": Object {
+ "data": Object {
+ "http.flavor": "1.1",
+ "http.host": "localhost:3030",
+ "http.method": "GET",
+ "http.request.header.accept": "*/*",
+ "http.request.header.accept_encoding": "gzip, deflate",
+ "http.request.header.accept_language": "*",
+ "http.request.header.connection": "keep-alive",
+ "http.request.header.host": "localhost:3030",
+ "http.request.header.sec_fetch_mode": "cors",
+ "http.request.header.user_agent": "node",
+ "http.response.status_code": 200,
+ "http.route": "/test-transaction",
+ "http.scheme": "http",
+ "http.status_code": 200,
+ "http.status_text": "OK",
+ "http.target": "/test-transaction",
+ "http.url": "http://localhost:3030/test-transaction",
+ "http.user_agent": "node",
+ "net.host.ip": "::1",
+ "net.host.name": "localhost",
+ "net.host.port": 3030,
+ "net.peer.ip": "::1",
+ "net.peer.port": 37530,
+ "net.transport": "ip_tcp",
+ "otel.kind": "SERVER",
+ "sentry.op": "http.server",
+ "sentry.origin": "auto.http.otel.http",
+ "sentry.sample_rate": 1,
+ "sentry.source": "route",
+ "url": "http://localhost:3030/test-transaction",
+ },
+ "op": "http.server",
+ "origin": "auto.http.otel.http",
+ "span_id": "b88df369ee686628",
+ "status": "ok",
+ "trace_id": "a01ac50018fc4c5594f3e6b33d928160",
+ },
+ },
+ "environment": "qa",
+ "event_id": "c4587a31131e4e11859d02a507663149",
+ "modules": Object {
+ "@nestjs/cli": "^10.0.0",
+ "@nestjs/common": "^10.0.0",
+ "@nestjs/core": "^10.0.0",
+ "@nestjs/microservices": "^10.0.0",
+ "@nestjs/platform-fastify": "^10.0.0",
+ "@nestjs/schedule": "^4.1.0",
+ "@nestjs/schematics": "^10.0.0",
+ "@nestjs/testing": "^10.0.0",
+ "@playwright/test": "~1.56.0",
+ "@sentry-internal/test-utils": "link:/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/test-utils",
+ "@sentry/nestjs"
|
|
Run E2E test
1 failed
[chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ───────────────────
24 passed (11.7s)
|
background
wait
wait-all
cancel
parallel
Loading