- Notifications
You must be signed in to change notification settings - Fork 327
renamed span_frames_min_duration to span_stack_trace_min_duration. Ch… #2220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renamed span_frames_min_duration to span_stack_trace_min_duration. Ch… #2220
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
felixbarny left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
The semantics for span_frames_min_duration change in this PR but should stay the same. Make the current config option internal and create a new one for span_stack_trace_min_duration. Then, consider both values when making the decision and give precedence to the new value.
Hi @felixbarny , |
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Show resolved Hide resolved
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/ElasticApmTracer.java Outdated Show resolved Hide resolved
apm-agent-core/src/test/java/co/elastic/apm/agent/impl/ElasticApmTracerTest.java Show resolved Hide resolved
No, I think it's fine if the old option doesn't show up in the docs anymore. |
fa33808 to 5173d3c Compare apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Outdated Show resolved Hide resolved
...ent-core/src/test/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfigurationTest.java Show resolved Hide resolved
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Outdated Show resolved Hide resolved
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Outdated Show resolved Hide resolved
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Outdated Show resolved Hide resolved
…ace/StacktraceConfiguration.java deleted aliasKey Co-authored-by: Felix Barnsteiner <felixbarny@users.noreply.github.com>
felixbarny left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after applying the suggestions. Thanks!
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Outdated Show resolved Hide resolved
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/ElasticApmTracer.java Outdated Show resolved Hide resolved
…ace/StacktraceConfiguration.java Co-authored-by: Felix Barnsteiner <felixbarny@users.noreply.github.com>
Co-authored-by: Felix Barnsteiner <felixbarny@users.noreply.github.com>
…ApmTracer.java Co-authored-by: Felix Barnsteiner <felixbarny@users.noreply.github.com>
apm-agent-core/src/main/java/co/elastic/apm/agent/impl/stacktrace/StacktraceConfiguration.java Show resolved Hide resolved
…a/apm-agent-java into stack_trace_span_min_duration
| run elasticsearch-ci/docs |
| There's a remaining reference to |
Head branch was pushed to by a user without write access
| /test |
| @kananindzya could you re-generate the config docs? |
Sorry, there are left reference from CoreConfiguration. I fixed this. And now |
| run elasticsearch-ci/docs |
…anged logic when reporting.
What does this PR do?
closes #2206
Checklist