Search in sources :

Example 1 with UriStatRecorderFactory

use of com.navercorp.pinpoint.bootstrap.plugin.uri.UriStatRecorderFactory in project pinpoint by naver.

the class ObjectBinderFactory method newInterceptorArgumentProvider.

public InterceptorArgumentProvider newInterceptorArgumentProvider(InstrumentClass instrumentClass) {
    ApiMetaDataService apiMetaDataService = this.apiMetaDataServiceProvider.get();
    UriStatRecorderFactory uriStatRecorderFactory = uriStatRecorderFactoryProvider.get();
    return new InterceptorArgumentProvider(dataSourceMonitorRegistry, customMetricRegistry, apiMetaDataService, requestRecorderFactory, uriStatRecorderFactory, instrumentClass);
}
Also used : UriStatRecorderFactory(com.navercorp.pinpoint.bootstrap.plugin.uri.UriStatRecorderFactory) ApiMetaDataService(com.navercorp.pinpoint.profiler.metadata.ApiMetaDataService)

Example 2 with UriStatRecorderFactory

use of com.navercorp.pinpoint.bootstrap.plugin.uri.UriStatRecorderFactory in project pinpoint by naver.

the class ObjectBinderFactory method newAnnotatedInterceptorFactory.

public AnnotatedInterceptorFactory newAnnotatedInterceptorFactory(InstrumentContext pluginContext) {
    final TraceContext traceContext = this.traceContextProvider.get();
    ApiMetaDataService apiMetaDataService = this.apiMetaDataServiceProvider.get();
    UriStatRecorderFactory uriStatRecorderFactory = uriStatRecorderFactoryProvider.get();
    return new AnnotatedInterceptorFactory(profilerConfig, traceContext, dataSourceMonitorRegistry, customMetricRegistry, apiMetaDataService, pluginContext, exceptionHandlerFactory, requestRecorderFactory, uriStatRecorderFactory);
}
Also used : UriStatRecorderFactory(com.navercorp.pinpoint.bootstrap.plugin.uri.UriStatRecorderFactory) TraceContext(com.navercorp.pinpoint.bootstrap.context.TraceContext) ApiMetaDataService(com.navercorp.pinpoint.profiler.metadata.ApiMetaDataService) AnnotatedInterceptorFactory(com.navercorp.pinpoint.profiler.interceptor.factory.AnnotatedInterceptorFactory)

Aggregations

UriStatRecorderFactory (com.navercorp.pinpoint.bootstrap.plugin.uri.UriStatRecorderFactory)2 ApiMetaDataService (com.navercorp.pinpoint.profiler.metadata.ApiMetaDataService)2 TraceContext (com.navercorp.pinpoint.bootstrap.context.TraceContext)1 AnnotatedInterceptorFactory (com.navercorp.pinpoint.profiler.interceptor.factory.AnnotatedInterceptorFactory)1