@ragav-ks/xior-xray-plugin
Version:
A Xior plugin to capture all the API calls in AWS X-Ray traces.
12 lines (11 loc) • 378 B
TypeScript
import { type XiorPlugin } from 'xior';
export interface XRayPluginOptions {
/**
* Custom name for the X-Ray subsegment (appears as service on X-Ray map)
*
* @default `config.baseURL` if set, otherwise `Remote Server`.
*/
serviceName?: string;
}
export declare function xrayPlugin(options?: XRayPluginOptions): XiorPlugin;
export default xrayPlugin;