Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.trace 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.trace {} {}', type: 'string' },
Expand All @@ -45,7 +45,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.debug 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.debug {} {}', type: 'string' },
Expand All @@ -60,7 +60,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.log 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.log {} {}', type: 'string' },
Expand All @@ -75,7 +75,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.info 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.info {} {}', type: 'string' },
Expand All @@ -90,7 +90,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.warn 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.warn {} {}', type: 'string' },
Expand All @@ -105,7 +105,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'console.error 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'console.error {} {}', type: 'string' },
Expand All @@ -120,7 +120,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'Assertion failed: console.assert 123 false',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
},
Expand All @@ -132,7 +132,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'Object: {"key":"value","nested":{"prop":123}}',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'Object: {}', type: 'string' },
Expand All @@ -146,7 +146,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'Array: [1,2,3,"string"]',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'Array: {}', type: 'string' },
Expand All @@ -160,7 +160,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'Mixed: prefix {"obj":true} [4,5,6] suffix',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'Mixed: {} {} {} {}', type: 'string' },
Expand All @@ -177,7 +177,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: '',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
},
Expand All @@ -189,7 +189,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'String substitution %s %d test 42',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
},
Expand All @@ -201,7 +201,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'Object substitution %o {"key":"value"}',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
},
Expand All @@ -213,7 +213,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'first 0 1 2',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'first {} {} {}', type: 'string' },
Expand All @@ -229,7 +229,7 @@ sentryTest('should capture console object calls', async ({ getLocalTestUrl, page
trace_id: expect.any(String),
body: 'hello true null undefined',
attributes: {
'sentry.origin': { value: 'auto.console.logging', type: 'string' },
'sentry.origin': { value: 'auto.log.console', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.browser', type: 'string' },
'sentry.sdk.version': { value: expect.any(String), type: 'string' },
'sentry.message.template': { value: 'hello {} {} {}', type: 'string' },
Expand Down
18 changes: 9 additions & 9 deletions dev-packages/node-core-integration-tests/suites/winston/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -33,7 +33,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand Down Expand Up @@ -62,7 +62,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -77,7 +77,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -92,7 +92,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -107,7 +107,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand Down Expand Up @@ -136,7 +136,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -151,7 +151,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand All @@ -166,7 +166,7 @@ describe('winston integration', () => {
severity_number: expect.any(Number),
trace_id: expect.any(String),
attributes: {
'sentry.origin': { value: 'auto.logging.winston', type: 'string' },
'sentry.origin': { value: 'auto.log.winston', type: 'string' },
'sentry.release': { value: '1.0.0', type: 'string' },
'sentry.environment': { value: 'test', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
Expand Down
Loading
Loading