Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/instrumentation-http

Package Overview
Dependencies
Maintainers
4
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-http - npm Package Compare versions

Comparing version 0.25.1-alpha.16 to 0.25.1-alpha.19

7

build/src/http.d.ts
/// <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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc