Skip to content

test(node): Add pg auto instrumentation test for @sentry/node-experimental#10347

Merged
AbhiPrasad merged 2 commits intogetsentry:developfrom
timfish:test/postgres-tracing-experimental
Jan 25, 2024
Merged

test(node): Add pg auto instrumentation test for @sentry/node-experimental#10347
AbhiPrasad merged 2 commits intogetsentry:developfrom
timfish:test/postgres-tracing-experimental

Conversation

@timfish
Copy link
Copy Markdown
Collaborator

@timfish timfish commented Jan 25, 2024

Ref #9907

This requires #10259 to be merged as it uses the new docker option.


const { Client } = require('pg');

const client = new Client({ port: 5444, user: 'test', password: 'test', database: 'tests' });

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "test" is used as [user name](1).
@timfish timfish marked this pull request as ready for review January 25, 2024 19:37
@AbhiPrasad AbhiPrasad merged commit bd8d8bb into getsentry:develop Jan 25, 2024
@timfish timfish deleted the test/postgres-tracing-experimental branch March 28, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants