scouter-project / scouter

Scouter is an open source APM (Application Performance Management) tool.
Other
2.1k stars 568 forks source link

Complete transaction call graph not shown #560

Open sattishv opened 5 years ago

sattishv commented 5 years ago

Hi team,

Have enabled the below listed parameters in agent config file, but still we couldn't see the complete call trace. Have attached the image of the trace we could see . Do we need to enable any other flags. screen shot 2019-02-18 at 2 48 51 pm Please advice.

net_collector_ip=X.X.X.X net_collector_udp_port=6100 net_collector_tcp_port=6100 hook_method_patterns=* trace_webserver_enabled=true trace_rs_leak_enabled=true profile_method_enabled=true profile_socket_open_fullstack_enabled=true profile_http_parameter_enabled=true profile_connection_open_fullstack_enabled-true sfa_dump_enabled=true sfa_dump_interval_ms=1000 profile_thread_cputime_enabled=true profile_thread_memory_usage_enabled=true

profile_summary_mode_enabled=false

profile_spring_controller_method_parameter_enabled=false

hook_exception_class_patterns=my.exception.TypedException

profile_fullstack_hooked_exception_enabled=true

hook_exception_handler_method_patterns=my.AbstractAPIController.fallbackHandler,my.ApiExceptionLoggingFilter.handleNotFoundErrorResponse

hook_exception_hanlder_exclude_class_patterns=exception.BizException

xlog_sampling_enabled=false

trace_response_gxid_enabled=true profile_connection_open_enabled=true

gunlee01 commented 5 years ago

How about it? hook_method_patterns=your-top-pakage-name.*.*

sattishv commented 5 years ago

Hi lee,

I tried specifying hook_method_patterns=com.paypal.* but still the same result. screen shot 2019-02-19 at 10 59 20 pm

thanks Sattish

gunlee01 commented 5 years ago

try com.paypal.*.*

sattishv commented 5 years ago

Hi ,

Still the same issue. Could be an issue with HTTP client how to confirm. Tech stack comprises JAX-RS which uses apache http client 4.5.6 for sync and for async they use RxNetty.

gunlee01 commented 5 years ago

Scouter is not battle tested for fully reactive style java application. But hook_async_thread_pool_executor_enabled option may help some reactive applications.

hook_method_patterns=com.paypal.*.*
hook_async_thread_pool_executor_enabled=true
hook_async_callrunnable_scan_package_prefixes=com.paypal
sattishv commented 5 years ago

Hi Lee,

Thanks we were able to see the sampling profile now. After adding your flags we could see the call graph.But SQL Statistics Summary is empty . Do i need to add any other parameter to get the SQL list. Please advise

Thanks Sattish.

On Thu, Feb 21, 2019 at 4:51 AM Gunhee Lee notifications@github.com wrote:

Scouter is not battle tested for fully reactive style java application. But hook_async_thread_pool_executor_enabled option may help some reactive applications.

hook_method_patterns=com.paypal.. hook_async_thread_pool_executor_enabled=true hook_async_callrunnable_scan_package_prefixes=com.paypal

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/scouter-project/scouter/issues/560#issuecomment-465795850, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGqmQozzWIleLy9ZU4ZFiXwFx19dXAeks5vPdiHgaJpZM4bAblg .

-- with regards,

Sattish 9940080070

gunlee01 commented 5 years ago

Scouter hooks serveral JDBC driver and catch there sql for profiling. There are no option, it's basic operation of scouter. It's possible if your database or jdbc driver is where scouter does not supported.