Conversation
kezhenxu94
left a comment
There was a problem hiding this comment.
Add the plugin to the doc https://github.com/apache/skywalking-nodejs#supported-libraries please
| Number.parseInt(process.env.SW_AGENT_MAX_BUFFER_SIZE as string, 10) : 1000, | ||
| ignoreSuffix: process.env.SW_IGNORE_SUFFIX ?? '.jpg,.jpeg,.js,.css,.png,.bmp,.gif,.ico,.mp3,.mp4,.html,.svg', | ||
| traceIgnorePath: process.env.SW_TRACE_IGNORE_PATH || '', | ||
| mysql_sql_parameters_max_length: Math.trunc(Math.max(0, Number(process.env.SW_MYSQL_SQL_PARAMETERS_MAX_LENGTH))) || 512, |
There was a problem hiding this comment.
Add the env var to doc please
|
BTW, I've checked packages |
I think the latter saying makes more sense, let's add a column in the supported libraries table |
Go ahead and add the column how you want and when I test packages I will add them there. [EDIT] Never mind, have a look how I added this. |
|
@tom-pytel can you please also review #29 , since you're adding 2 plugins for 2 different MySQL libs. Also, if possible, add a test case in this PR? |
|
I can look into adding tests later, right now fighting with a PostgreSQL plugin. If you can merge this before I get the pg plugin done it will make things less messy, especially with the other mysql2 plugin... |
No description provided.