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

Reset oldest capture time on JMS message-ack #5319

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

mcculls
Copy link
Contributor

@mcculls mcculls commented Jun 5, 2023

This avoids a potential issue with long-running client-ack sessions where we might continue to use the time of the oldest previously captured span, even when messages are continually acknowledged. This could then result in message spans finishing a bit earlier than expected, but this would only happen once per-hour as the oldest capture time would then be reset.

After this fix the oldest capture time is always reset after a message ack.

@mcculls mcculls added inst: others All other instrumentations inst: jms JMS instrumentation labels Jun 5, 2023
@mcculls mcculls requested a review from a team as a code owner June 5, 2023 09:31
@pr-commenter
Copy link

pr-commenter bot commented Jun 5, 2023

Benchmarks

Parameters

Baseline Candidate
commit 1.16.0-SNAPSHOT~b25b4321c8 1.16.0-SNAPSHOT~509681784c
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases.

@mcculls mcculls merged commit e3b8e5b into master Jun 5, 2023
@mcculls mcculls deleted the mcculls/reset-oldestCaptureTime-on-ack branch June 5, 2023 11:28
@github-actions github-actions bot added this to the 1.16.0 milestone Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: jms JMS instrumentation inst: others All other instrumentations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants