Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-koa

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-koa - npm Package Compare versions

Comparing version 0.34.5 to 0.34.6

2

build/src/version.d.ts

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

export declare const VERSION = "0.34.5";
export declare const VERSION = "0.34.6";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -71,3 +71,3 @@ "main": "build/src/index.js",

"@opentelemetry/core": "^1.8.0",
"@opentelemetry/instrumentation": "^0.39.1",
"@opentelemetry/instrumentation": "^0.40.0",
"@opentelemetry/semantic-conventions": "^1.0.0",

@@ -78,3 +78,3 @@ "@types/koa": "2.13.6",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-koa#readme",
"gitHead": "418b6f6d471b4b38507e8c6ef2916bee31ed2001"
"gitHead": "efdfc727a49090accee7fea8ff93011b6b84c1e4"
}

@@ -10,4 +10,8 @@ # OpenTelemetry Koa Instrumentation for Node.js

Compatible with OpenTelemetry JS API and SDK `1.0+`.
## Status
| Maturity | [Component Owner](../../../.github/component_owners.yml) | Compatibility |
| ----------------------------------------------------- | -------------------------------------------------------- | --------------------- |
| [Unmaintained](../../../CONTRIBUTING.md#unmaintained) | N/A | API 1.0+<br/>SDK 1.0+ |
## Installation

@@ -49,6 +53,6 @@

| Options | Type | Example | Description |
| ------- | ---- | ------- | ----------- |
| `ignoreLayersType`| `KoaLayerType[]` | `['middleware']` | Ignore layers of specified type. |
| `requestHook` | `KoaRequestCustomAttributeFunction` | `(span, info) => {}` | Function for adding custom attributes to Koa middleware layers. Receives params: `Span, KoaRequestInfo`. |
| Options | Type | Example | Description |
| ------------------ | ----------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------- |
| `ignoreLayersType` | `KoaLayerType[]` | `['middleware']` | Ignore layers of specified type. |
| `requestHook` | `KoaRequestCustomAttributeFunction` | `(span, info) => {}` | Function for adding custom attributes to Koa middleware layers. Receives params: `Span, KoaRequestInfo`. |

@@ -55,0 +59,0 @@ `ignoreLayersType` accepts an array of `KoaLayerType` which can take the following string values:

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

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

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