Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-fastify

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-fastify - npm Package Compare versions

Comparing version 0.32.0 to 0.32.1

17

build/src/index.js

@@ -17,7 +17,16 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./enums/AttributeNames"), exports);
(0, tslib_1.__exportStar)(require("./types"), exports);
(0, tslib_1.__exportStar)(require("./instrumentation"), exports);
__exportStar(require("./enums/AttributeNames"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./instrumentation"), exports);
//# sourceMappingURL=index.js.map

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

export declare const VERSION = "0.32.0";
export declare const VERSION = "0.32.1";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -51,12 +51,12 @@ "main": "build/src/index.js",

"@opentelemetry/context-async-hooks": "^1.8.0",
"@opentelemetry/instrumentation-http": "0.41.0",
"@opentelemetry/instrumentation-http": "0.41.2",
"@opentelemetry/sdk-trace-base": "^1.8.0",
"@opentelemetry/sdk-trace-node": "^1.8.0",
"@types/express": "4.17.13",
"@types/express": "4.17.17",
"@types/mocha": "7.0.2",
"@types/node": "18.11.7",
"@types/node": "18.16.19",
"fastify": "4.18.0",
"mocha": "7.2.0",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"rimraf": "5.0.1",
"ts-mocha": "10.0.0",

@@ -67,8 +67,7 @@ "typescript": "4.4.4"

"@opentelemetry/core": "^1.8.0",
"@opentelemetry/instrumentation": "^0.41.0",
"@opentelemetry/semantic-conventions": "^1.0.0",
"tslib": "^2.3.1"
"@opentelemetry/instrumentation": "^0.41.2",
"@opentelemetry/semantic-conventions": "^1.0.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-fastify#readme",
"gitHead": "f81f8a76a8f0af2101c62dbc73cde442f875d833"
"gitHead": "b3d30afe7376760d211b20c4fb45988ac58c1d85"
}

@@ -50,4 +50,5 @@ # OpenTelemetry Fastify Instrumentation for Node.js

| Options | Type | Example | Description |
| `requestHook` | `FastifyCustomAttributeFunction` | `(span, requestInfo) => {}` | Function for adding custom attributes to Fastify requests. Receives params: `Span, FastifyRequestInfo`. |
| Options | Type | Example | Description |
| -------------- | ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------ |
| `requestHook` | `FastifyCustomAttributeFunction` | `(span, requestInfo) => {}` | Function for adding custom attributes to Fastify requests. Receives parameters: `Span, FastifyRequestInfo`. |

@@ -54,0 +55,0 @@ ### Using `requestHook`

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