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

@opentelemetry/instrumentation-http

Package Overview
Dependencies
Maintainers
2
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.33.0 to 0.34.0

2

build/src/http.d.ts
/// <reference types="node" />
import { MeterProvider } from '@opentelemetry/api-metrics';
import { MeterProvider } from '@opentelemetry/api';
import type * as http from 'http';

@@ -4,0 +4,0 @@ import * as url from 'url';

@@ -20,3 +20,2 @@ "use strict";

const api_1 = require("@opentelemetry/api");
const api_metrics_1 = require("@opentelemetry/api-metrics");
const core_1 = require("@opentelemetry/core");

@@ -49,3 +48,3 @@ const semver = require("semver");

unit: 'ms',
valueType: api_metrics_1.ValueType.DOUBLE
valueType: api_1.ValueType.DOUBLE
});

@@ -55,3 +54,3 @@ this._httpClientDurationHistogram = this.meter.createHistogram('http.client.duration', {

unit: 'ms',
valueType: api_metrics_1.ValueType.DOUBLE
valueType: api_1.ValueType.DOUBLE
});

@@ -58,0 +57,0 @@ }

@@ -1,6 +0,5 @@

import { SpanAttributes, SpanStatusCode, Span, SpanKind } from '@opentelemetry/api';
import { MetricAttributes, SpanAttributes, SpanStatusCode, Span, SpanKind } from '@opentelemetry/api';
import { IncomingHttpHeaders, IncomingMessage, OutgoingHttpHeaders, RequestOptions, ServerResponse } from 'http';
import * as url from 'url';
import { Err, IgnoreMatcher, ParsedRequestOptions } from './types';
import { MetricAttributes } from '@opentelemetry/api-metrics';
/**

@@ -7,0 +6,0 @@ * Get an absolute url

@@ -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-http",
"version": "0.33.0",
"version": "0.34.0",
"description": "OpenTelemetry http/https automatic instrumentation package.",

@@ -48,8 +48,8 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/context-async-hooks": "1.7.0",
"@opentelemetry/sdk-trace-base": "1.7.0",
"@opentelemetry/sdk-trace-node": "1.7.0",
"@types/got": "9.6.12",
"@types/mocha": "9.1.1",
"@opentelemetry/api": "^1.3.0",
"@opentelemetry/context-async-hooks": "1.8.0",
"@opentelemetry/sdk-metrics": "1.8.0",
"@opentelemetry/sdk-trace-base": "1.8.0",
"@opentelemetry/sdk-trace-node": "1.8.0",
"@types/mocha": "10.0.0",
"@types/node": "18.6.5",

@@ -62,3 +62,2 @@ "@types/request-promise-native": "1.0.18",

"codecov": "3.8.3",
"got": "9.6.0",
"mocha": "10.0.0",

@@ -76,14 +75,13 @@ "nock": "13.0.11",

"peerDependencies": {
"@opentelemetry/api": "^1.0.0"
"@opentelemetry/api": "^1.3.0"
},
"dependencies": {
"@opentelemetry/api-metrics": "0.33.0",
"@opentelemetry/core": "1.7.0",
"@opentelemetry/instrumentation": "0.33.0",
"@opentelemetry/sdk-metrics": "0.33.0",
"@opentelemetry/semantic-conventions": "1.7.0",
"@opentelemetry/core": "1.8.0",
"@opentelemetry/instrumentation": "0.34.0",
"@opentelemetry/semantic-conventions": "1.8.0",
"semver": "^7.3.5"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http",
"gitHead": "ad88c3d9aa0100fe259b93f4b660e84417b757ac"
"sideEffects": false,
"gitHead": "7972edf6659fb6e0d5928a5cf7a35f26683e168f"
}

@@ -27,4 +27,7 @@ # OpenTelemetry HTTP and HTTPS Instrumentation for Node.js

const { HttpInstrumentation } = require('@opentelemetry/instrumentation-http');
const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base');
const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');
const {
ConsoleSpanExporter,
NodeTracerProvider,
SimpleSpanProcessor,
} = require('@opentelemetry/sdk-trace-node');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');

@@ -31,0 +34,0 @@

Sorry, the diff of this file is not supported yet

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