@medusajs/medusa
Version:
Building blocks for digital commerce
21 lines • 657 B
TypeScript
/**
* Imports the "instrumentation.js" file from the root of the
* directory and invokes the register function. The existence
* of this file is optional, hence we ignore "ENOENT"
* errors.
*/
export declare function registerInstrumentation(directory: string): Promise<void>;
/**
* Wrap request handler inside custom implementation to enabled
* instrumentation.
*/
export declare var traceRequestHandler: (...args: any[]) => Promise<any>;
declare function start(args: {
directory: string;
host?: string;
port?: number;
types?: boolean;
cluster?: number;
}): Promise<void>;
export default start;
//# sourceMappingURL=start.d.ts.map