Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
23 lines
779 B
Plaintext
23 lines
779 B
Plaintext
import { Exception } from '@opentelemetry/api';
|
|
/**
|
|
* This interface defines the params that are be added to the wrapped function
|
|
* using the "shimmer.wrap"
|
|
*/
|
|
export interface ShimWrapped extends Function {
|
|
__wrapped: boolean;
|
|
__unwrap: Function;
|
|
__original: Function;
|
|
}
|
|
/**
|
|
* An instrumentation scope consists of the name and optional version
|
|
* used to obtain a tracer or meter from a provider. This metadata is made
|
|
* available on ReadableSpan and MetricRecord for use by the export pipeline.
|
|
*/
|
|
export interface InstrumentationScope {
|
|
readonly name: string;
|
|
readonly version?: string;
|
|
readonly schemaUrl?: string;
|
|
}
|
|
/** Defines an error handler function */
|
|
export type ErrorHandler = (ex: Exception) => void;
|
|
//# sourceMappingURL=types.d.ts.map |