Skip to content
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

Add stall detection to the NR java agent #1527

Closed
jtduffy opened this issue Sep 28, 2023 · 0 comments · Fixed by #1542
Closed

Add stall detection to the NR java agent #1527

jtduffy opened this issue Sep 28, 2023 · 0 comments · Fixed by #1542

Comments

@jtduffy
Copy link
Contributor

jtduffy commented Sep 28, 2023

Description

Many years ago the java agent had a very useful stall detection feature. The agent would notice transactions that started and had not finished after a certain amount of time. It would then report this as an error with a stack trace for the thread on which the transaction was running.

When it detects a "stall", it will report an event with transaction details similar to those we report in Transaction events. The stack trace will be reported in code.stacktrace.

Initially, configuration will include:

  • Enable/disable flag for the new SlowTransactionService
  • Configuration to control how often (or at all) previously reported slow transactions get reported

@jack-berg will be handling the implementation. Working branch here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant