@azure/monitor-opentelemetry
Version:
Azure Monitor OpenTelemetry (Node.js)
17 lines • 636 B
TypeScript
/**
* A CommonJS module loader for Azure Function Core.
* @returns The Azure Functions Core module if it exists, otherwise undefined
*/
export declare function loadAzureFunctionCore(): ReturnType<typeof require>;
/**
* A polyfill for __dirname in CommonJS
* @returns The directory name of the current module.
*/
export declare function dirName(): string;
/**
* Returns a file URL for the current module for loader registration scenarios.
* Used by the instrumentation loader to register Node.js module hooks.
* @internal
*/
export declare function getModuleParentURL(): string | undefined;
//# sourceMappingURL=module.d.ts.map