solarwinds-apm
Version:
OpenTelemetry-based SolarWinds APM library
17 lines • 629 B
TypeScript
/**
* Wait until the library is ready to sample traces
*
* Note that when exporting to AppOptics this function will block the event loop.
*
* @param timeout - Wait timeout in milliseconds
* @returns Whether the library is ready
*/
export declare function waitUntilReady(timeout: number): Promise<boolean>;
/**
* Forces the library to flush any buffered traces, metrics or logs
*/
export declare function forceFlush(): Promise<void>;
export { type Config } from "./config.js";
export { setTransactionName } from "./processing/transaction-name.js";
export { VERSION } from "./version.js";
//# sourceMappingURL=api.d.ts.map