Skip to content

Limit dispatched stack trace frames - #47

Open
dongyikuan919 wants to merge 1 commit into
Mahesh-Langote:mainfrom
dongyikuan919:45-limit-stack-trace
Open

Limit dispatched stack trace frames#47
dongyikuan919 wants to merge 1 commit into
Mahesh-Langote:mainfrom
dongyikuan919:45-limit-stack-trace

Conversation

@dongyikuan919

Copy link
Copy Markdown

Description

Cap stack traces before they are sent to the APM endpoint. The new logdispatch.max-stack-frames property defaults to 100, preserves the existing constructors, and adds a truncation marker with the omitted frame count.

Fixes #45

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update

How Has This Been Tested?

  • ./mvnw clean test (32 tests)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings beyond existing build warnings
  • I have added tests that prove my fix is effective
  • New and existing unit tests pass locally with my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Stack trace payload is unbounded — no size cap

1 participant