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
15 lines
710 B
Plaintext
15 lines
710 B
Plaintext
import { KoaLayerType, KoaInstrumentationConfig } from './types';
|
|
import { KoaContext, KoaMiddleware } from './internal-types';
|
|
import { Attributes } from '@opentelemetry/api';
|
|
export declare const getMiddlewareMetadata: (context: KoaContext, layer: KoaMiddleware, isRouter: boolean, layerPath?: string | RegExp) => {
|
|
attributes: Attributes;
|
|
name: string;
|
|
};
|
|
/**
|
|
* Check whether the given request is ignored by configuration
|
|
* @param [list] List of ignore patterns
|
|
* @param [onException] callback for doing something when an exception has
|
|
* occurred
|
|
*/
|
|
export declare const isLayerIgnored: (type: KoaLayerType, config?: KoaInstrumentationConfig) => boolean;
|
|
//# sourceMappingURL=utils.d.ts.map |