@opentelemetry/instrumentation-dns
Advanced tools
Comparing version 0.38.0 to 0.39.0
@@ -6,4 +6,3 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
*/ | ||
export declare class DnsInstrumentation extends InstrumentationBase { | ||
protected _config: DnsInstrumentationConfig; | ||
export declare class DnsInstrumentation extends InstrumentationBase<DnsInstrumentationConfig> { | ||
constructor(config?: DnsInstrumentationConfig); | ||
@@ -10,0 +9,0 @@ init(): (InstrumentationNodeModuleDefinition | InstrumentationNodeModuleDefinition)[]; |
@@ -76,3 +76,3 @@ "use strict"; | ||
return function patchedLookup(hostname, ...args) { | ||
if (utils.isIgnored(hostname, plugin._config.ignoreHostnames, (e) => api_1.diag.error('caught ignoreHostname error: ', e))) { | ||
if (utils.isIgnored(hostname, plugin.getConfig().ignoreHostnames, (e) => api_1.diag.error('caught ignoreHostname error: ', e))) { | ||
return original.apply(this, [hostname, ...args]); | ||
@@ -79,0 +79,0 @@ } |
@@ -1,3 +0,3 @@ | ||
export declare const PACKAGE_VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.39.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-dns"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,4 +20,4 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.PACKAGE_VERSION = '0.38.0'; | ||
exports.PACKAGE_VERSION = '0.39.0'; | ||
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-dns'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-dns", | ||
"version": "0.38.0", | ||
"version": "0.39.0", | ||
"description": "OpenTelemetry instrumentation for `node:dns` name resolution module", | ||
@@ -52,8 +52,8 @@ "main": "build/src/index.js", | ||
"@types/node": "18.6.5", | ||
"@types/semver": "7.5.3", | ||
"@types/semver": "7.5.8", | ||
"@types/shimmer": "1.0.3", | ||
"@types/sinon": "10.0.18", | ||
"@types/sinon": "10.0.20", | ||
"mocha": "7.2.0", | ||
"nyc": "15.1.0", | ||
"rimraf": "5.0.5", | ||
"rimraf": "5.0.10", | ||
"sinon": "15.2.0", | ||
@@ -64,7 +64,7 @@ "ts-mocha": "10.0.0", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.52.0", | ||
"@opentelemetry/instrumentation": "^0.53.0", | ||
"semver": "^7.5.4" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-dns#readme", | ||
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7" | ||
"gitHead": "9dc58afed8134f95908331bcff35c5d9ec46fe9a" | ||
} |
Sorry, the diff of this file is not supported yet
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
61857
482
+ Added@opentelemetry/api-logs@0.53.0(transitive)
+ Added@opentelemetry/instrumentation@0.53.0(transitive)
- Removed@opentelemetry/api-logs@0.52.1(transitive)
- Removed@opentelemetry/instrumentation@0.52.1(transitive)