Skip to content

Commit

Permalink
chore(mysql): set supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Nov 18, 2019
1 parent 52558cc commit 4161a12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/opentelemetry-plugin-mysql/src/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ import { AttributeNames } from './enums';
import { getConnectionAttributes, getSpanName } from './utils';

export class MysqlPlugin extends BasePlugin<typeof mysqlTypes> {
moduleName = 'mysql';
readonly moduleName = 'mysql';
readonly supportedVersions = ['2.*'];

static COMPONENT = 'mysql';
static DB_TYPE = 'sql';

Expand Down

0 comments on commit 4161a12

Please sign in to comment.