UNPKG

keep-observers

Version:

This is a monitoring service applied to the web side Support Elasticsearch+kiban The middleware extension interface is provided by means of plug-in service compositionkeep-observers

21 lines (20 loc) 745 B
import { kibanaApmUserContext } from '../../../types/report'; declare class TracerTransaction { private serviceFactory; private customServiceFactory; private configService; private Initialized; private Customonitoring; private ApmServer; constructor(config: any); private initCustomTransaction; private resetApmServiceLog; createTransaction: (name: string, type: string) => any; pageLoad(): void; catchError(): void; setUserInfo: (userInfo: kibanaApmUserContext) => void; captureError(error: string): any; watchCatchError(callback: (message: any) => void): void; createCustomEventTransaction: (name: string, type: string, options?: any) => any; } export default TracerTransaction;