apm-server的javaagent有三个参数,
elastic.apm.service_name:服务名称
elastic.apm.application_packages:
elastic.apm.server_urls:服务端的地址
唯独application_packages 这个没有能理解是指什么意思?我乱写一下好像也行。
elastic.apm.service_name:服务名称
elastic.apm.application_packages:
elastic.apm.server_urls:服务端的地址
唯独application_packages 这个没有能理解是指什么意思?我乱写一下好像也行。
1 个回复
rochy - rochy_he
赞同来自:
Used to determine whether a stack trace frame is an in-app frame or a library frame. Multiple packages can be set as a comma-separated list. Setting this option can also improve the startup time.
In order to be able to use the API annotations @CaptureTransaction and @CaptureSpan, it is required to set these options.
官方文档:https://www.elastic.co/guide/e ... kages
官方文档:https://www.elastic.co/guide/e ... .html