From 3541c32530f12bb85e37288042a7127a96326db6 Mon Sep 17 00:00:00 2001 From: tangxqa <973117150@qq.com> Date: Wed, 23 Jun 2021 16:43:39 +0800 Subject: [PATCH] Update agent.config (#7163) --- CHANGES.md | 1 + apm-sniffer/config/agent.config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 63815201a..598f0d465 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,6 +14,7 @@ Release Notes. * [Temporary] Support authentication for log report channel. This feature and grpc channel is going to be removed after Satellite 0.2.0 release. * Remove deprecated gRPC method, `io.grpc.ManagedChannelBuilder#nameResolverFactory`. See [gRPC-java 7133](https://github.com/grpc/grpc-java/issues/7133) for more details. * Add `Neo4j-4.x` plugin. +* Correct `profile.duration` to `profile.max_duration` in the default `agent.config` file. #### OAP-Backend * Disable Spring sleuth meter analyzer by default. diff --git a/apm-sniffer/config/agent.config b/apm-sniffer/config/agent.config index 44c67fea5..78e2de488 100644 --- a/apm-sniffer/config/agent.config +++ b/apm-sniffer/config/agent.config @@ -62,7 +62,7 @@ agent.service_name=${SW_AGENT_NAME:Your_ApplicationName} # profile.max_parallel=${SW_AGENT_PROFILE_MAX_PARALLEL:5} # Max monitor segment time(minutes), if current segment monitor time out of limit, then stop it. -# profile.duration=${SW_AGENT_PROFILE_DURATION:10} +# profile.max_duration=${SW_AGENT_PROFILE_DURATION:10} # Max dump thread stack depth # profile.dump_max_stack_depth=${SW_AGENT_PROFILE_DUMP_MAX_STACK_DEPTH:500}