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

@opentelemetry/instrumentation-pg

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-pg - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

4

build/src/pg.d.ts
import { InstrumentationBase, InstrumentationConfig, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import * as pgTypes from 'pg';
import * as pgPoolTypes from 'pg-pool';
export interface PgInstrumentationConfig {
export interface PgInstrumentationConfig extends InstrumentationConfig {
/**

@@ -16,3 +16,3 @@ * If true, additional information about query parameters and

static readonly BASE_SPAN_NAME: string;
constructor(config?: InstrumentationConfig & PgInstrumentationConfig);
constructor(config?: PgInstrumentationConfig);
protected init(): (InstrumentationNodeModuleDefinition<typeof pgTypes> | InstrumentationNodeModuleDefinition<typeof pgPoolTypes>)[];

@@ -19,0 +19,0 @@ private _getClientQueryPatch;

@@ -1,2 +0,2 @@

export declare const VERSION = "0.14.0";
export declare const VERSION = "0.15.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.14.0';
exports.VERSION = '0.15.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-pg",
"version": "0.14.0",
"version": "0.15.0",
"description": "OpenTelemetry postgres automatic instrumentation package.",

@@ -50,6 +50,6 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.18.0",
"@opentelemetry/node": "^0.18.0",
"@opentelemetry/test-utils": "^0.14.0",
"@opentelemetry/tracing": "^0.18.0",
"@opentelemetry/context-async-hooks": "0.18.2",
"@opentelemetry/node": "0.18.2",
"@opentelemetry/test-utils": "^0.15.0",
"@opentelemetry/tracing": "0.18.2",
"@types/mocha": "7.0.2",

@@ -77,3 +77,3 @@ "@types/node": "14.0.27",

},
"gitHead": "7a87f4105ff432380132d81f56a33e3f5c4e8fb1"
"gitHead": "a2de7757da17a026433f0735035f65f7f88f1666"
}
# OpenTelemetry Postgres Instrumentation for Node.js
[![Gitter chat][gitter-image]][gitter-url]
[![NPM Published Version][npm-img]][npm-url]
[![dependencies][dependencies-image]][dependencies-url]

@@ -84,3 +85,3 @@ [![devDependencies][devDependencies-image]][devDependencies-url]

- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>
- For help or feedback on this project, join us on [gitter][gitter-url]
- For help or feedback on this project, join us in [GitHub Discussions][discussions-url]

@@ -91,9 +92,10 @@ ## License

[gitter-image]: https://badges.gitter.im/open-telemetry/opentelemetry-js.svg
[gitter-url]: https://gitter.im/open-telemetry/opentelemetry-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
[discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions
[license-url]: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/LICENSE
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib/status.svg?path=packages/opentelemetry-instrumentation-pg
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=packages%2Fopentelemetry-instrumentation-pg
[devDependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib/dev-status.svg?path=packages/opentelemetry-instrumentation-pg
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=packages%2Fopentelemetry-instrumentation-pg&type=dev
[dependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-contrib.svg?path=plugins%2Fnode%2Fopentelemetry-instrumentation-pg
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=plugins%2Fnode%2Fopentelemetry-instrumentation-pg
[devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-contrib.svg?path=plugins%2Fnode%2Fopentelemetry-instrumentation-pg&type=dev
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=plugins%2Fnode%2Fopentelemetry-instrumentation-pg&type=dev
[npm-url]: https://www.npmjs.com/package/@opentelemetry/instrumentation-pg
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Finstrumentation-pg.svg
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