@opentelemetry/instrumentation-knex
Advanced tools
Comparing version 0.33.0 to 0.34.0
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.33.0"; | ||
export declare const VERSION = "0.34.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.33.0'; | ||
exports.VERSION = '0.34.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-knex", | ||
"version": "0.33.0", | ||
"version": "0.34.0", | ||
"description": "OpenTelemetry Knex automatic instrumentation package", | ||
@@ -60,7 +60,7 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.48.0", | ||
"@opentelemetry/instrumentation": "^0.49.1", | ||
"@opentelemetry/semantic-conventions": "^1.0.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-knex#readme", | ||
"gitHead": "32204a362d9dffd4cd69a1300e1f7d245df9df52" | ||
"gitHead": "fcea8ca0c83cb1dcd8ac736e5ea4d22ff20dc982" | ||
} |
@@ -25,3 +25,3 @@ # OpenTelemetry Knex Instrumentation for Node.js | ||
```js | ||
const { KnexInstrumentation, KnexInstrumentationConfig } = require('@opentelemetry/instrumentation-knex'); | ||
const { KnexInstrumentation } = require('@opentelemetry/instrumentation-knex'); | ||
const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base'); | ||
@@ -38,7 +38,6 @@ const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); | ||
instrumentations: [ | ||
new KnexInstrumentation( | ||
new KnexInstrumentationConfig({ | ||
new KnexInstrumentation({ | ||
maxQueryLength: 100, | ||
}) | ||
)], | ||
], | ||
tracerProvider: provider, | ||
@@ -45,0 +44,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55837
66
+ Added@opentelemetry/api-logs@0.49.1(transitive)
+ Added@opentelemetry/instrumentation@0.49.1(transitive)
- Removed@opentelemetry/instrumentation@0.48.0(transitive)