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

OF-2913: DB Query stats fix + layout changes #2619

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Nov 25, 2024

This fixes an issue with the collection of database statistics (as shown on the admin console) and improves the layout of the HTML page a bit.

The end-time of a profiling session is now observed when calculating rates. Prior to this change, no new data was recorded, but the end-time that was used was 'now', leading to decreasing rates over time.

When (re)starting a profiling session, all old data should be discarded, to avoid skewed averages and rates.
Multiple small, non-functional changes have been applied to the code of ProfiledConnection. This class now requires Java 17.
Use the more type-safe Instant and Duration representations from `java.time` (rather than long values representing a timestamp and durations) in the code that profiles database statistics
Mostly converts the page from scriptlet to JSTL.

Makes the tables that contain SQL wider

Other minor CSS tweaks.
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.

1 participant