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
Prev Previous commit
Next Next commit
fix fastify semantic conventions
  • Loading branch information
s1gr1d committed Feb 6, 2025
commit fdd7f4cff2826891789fd0930b8f04a867c7cf08
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test';
import { waitForTransaction } from '@sentry-internal/test-utils';

test('Sends an API route transaction', async ({ baseURL }) => {
test.only('Sends an API route transaction', async ({ baseURL }) => {
const pageloadTransactionEventPromise = waitForTransaction('nestjs-fastify', transactionEvent => {
return (
transactionEvent?.contexts?.trace?.op === 'http.server' &&
Expand All @@ -25,7 +25,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'http.url': 'http://localhost:3030/test-transaction',
'http.host': 'localhost:3030',
'net.host.name': 'localhost',
'http.method': 'GET',
'http.request.method': 'GET',
'http.scheme': 'http',
'http.target': '/test-transaction',
'http.user_agent': 'node',
Expand Down Expand Up @@ -92,7 +92,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
component: '@nestjs/core',
'nestjs.version': expect.any(String),
'nestjs.type': 'request_context',
'http.method': 'GET',
'http.request.method': 'GET',
'http.url': '/test-transaction',
'http.route': '/test-transaction',
'nestjs.controller': 'AppController',
Expand Down
Loading