Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

timfish
Copy link
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.

2 participants