Uh oh!
There was an error while loading. Please reload this page.
test(node): Add mysql auto instrumentation tests for @sentry/node-experimental - #10255
Conversation
auto instrumentation tests for @sentry/node-experimental`mysql auto instrumentation tests for @sentry/node-experimentalUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| const mysql = require('mysql'); | ||
| const connection = mysql.createConnection({ | ||
| user: 'root', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| const connection = mysql.createConnection({ | ||
| user: 'root', | ||
| password: 'docker', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| const mysql = require('mysql'); | ||
| const connection = mysql.createConnection({ | ||
| user: 'root', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| const connection = mysql.createConnection({ | ||
| user: 'root', | ||
| password: 'docker', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| const mysql = require('mysql'); | ||
| const connection = mysql.createConnection({ | ||
| user: 'root', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| const connection = mysql.createConnection({ | ||
| user: 'root', | ||
| password: 'docker', |
Check failure
Code scanning / CodeQL
Hard-coded credentials
mydea
commented
Jan 19, 2024
We should try to contribute upstream to make this work 😬 Do you have any clue why it doesn't work with ESM? Maybe it is similar to what I had to do for fastify to make it work with ESM: open-telemetry/opentelemetry-js-contrib#1624 |
This PR adds auto instrumentation tests for
mysqlfor@sentry/node-experimental.There are no ESM tests because
mysqldoes not support ESM!