@opentelemetry/instrumentation-http
Advanced tools
Comparing version 0.25.1-alpha.16 to 0.25.1-alpha.19
/// <reference types="node" /> | ||
import type * as http from 'http'; | ||
import type * as https from 'https'; | ||
import * as url from 'url'; | ||
import { Func, Http, HttpInstrumentationConfig, HttpRequestArgs } from './types'; | ||
import { Func, Http, HttpInstrumentationConfig, HttpRequestArgs, Https } from './types'; | ||
import { InstrumentationBase, InstrumentationConfig, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
@@ -17,3 +16,3 @@ /** | ||
setConfig(config?: HttpInstrumentationConfig & InstrumentationConfig): void; | ||
init(): (InstrumentationNodeModuleDefinition<typeof https> | InstrumentationNodeModuleDefinition<typeof http>)[]; | ||
init(): [InstrumentationNodeModuleDefinition<Https>, InstrumentationNodeModuleDefinition<Http>]; | ||
private _getHttpInstrumentation; | ||
@@ -24,3 +23,3 @@ private _getHttpsInstrumentation; | ||
*/ | ||
protected _getPatchIncomingRequestFunction(component: 'http' | 'https'): (original: (event: string, ...args: unknown[]) => boolean) => (this: {}, event: string, ...args: unknown[]) => boolean; | ||
protected _getPatchIncomingRequestFunction(component: 'http' | 'https'): (original: (event: string, ...args: unknown[]) => boolean) => (this: unknown, event: string, ...args: unknown[]) => boolean; | ||
/** | ||
@@ -27,0 +26,0 @@ * Creates spans for outgoing requests, sending spans' context for distributed |
{ | ||
"name": "@opentelemetry/instrumentation-http", | ||
"version": "0.25.1-alpha.16+63f67010", | ||
"version": "0.25.1-alpha.19+66175738", | ||
"description": "OpenTelemetry http/https automatic instrumentation package.", | ||
@@ -48,4 +48,4 @@ "main": "build/src/index.js", | ||
"@opentelemetry/context-async-hooks": "^0.25.0", | ||
"@opentelemetry/sdk-trace-base": "^0.25.1-alpha.16+63f67010", | ||
"@opentelemetry/sdk-trace-node": "^0.25.1-alpha.16+63f67010", | ||
"@opentelemetry/sdk-trace-base": "^0.25.0", | ||
"@opentelemetry/sdk-trace-node": "^0.25.0", | ||
"@types/got": "9.6.12", | ||
@@ -81,3 +81,3 @@ "@types/mocha": "8.2.3", | ||
}, | ||
"gitHead": "63f6701081e3e4a7eb964bb82cbd8cbc2eaad347" | ||
"gitHead": "6617573888ebbb962ab452916916b3b563863858" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
98615
1124