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

@netlify/opentelemetry-utils

Package Overview
Dependencies
Maintainers
20
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/opentelemetry-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

lib/index.d.ts

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

import { Context } from '@opentelemetry/api';
import { Context, Attributes } from '@opentelemetry/api';
/**

@@ -11,11 +11,7 @@ * Sets attributes to be propagated across child spans under the current active context

*/
export declare const addErrorToActiveSpan: (error: Error, attributes?: {
[key: string]: string;
} | undefined) => void;
export declare const addErrorToActiveSpan: (error: Error, attributes?: Attributes) => void;
/**
* Creates a specific event to the current active span (if any)
*/
export declare const addEventToActiveSpan: (eventName: string, attributes?: {
[key: string]: string;
} | undefined) => void;
export declare const addEventToActiveSpan: (eventName: string, attributes?: Attributes) => void;
/**

@@ -22,0 +18,0 @@ * Sets global context to be used when initialising our root span

{
"name": "@netlify/opentelemetry-utils",
"version": "1.0.0",
"version": "1.0.1",
"description": "Opentelemetry utility methods",

@@ -46,3 +46,3 @@ "type": "module",

},
"gitHead": "8ebf95ca5a1590da72fdffb67e966e02efd4d379"
"gitHead": "9c4fb7ba7f7cecedfbeced71de24e01ef0828b90"
}
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