@netlify/opentelemetry-utils
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7049
129