Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR applies various updates to the example Grafana dashboard.
General
rate
is used instead ofincrease
for metrics of typecounter
rate
is applied to a static interval of 1 minute (1m
) instead of the dynamic$__rate_interval
JVM
New widgets for garbage collector activity. Frequent and long GC pause durations can be a good indicator for insufficient memory, or a hint that experimenting with other GC implementations should be done.
In Hyades for example, we changed the default GC from Parallel GC to G1 for the API server, because we were seeing regular pauses of >3 seconds (DependencyTrack/hyades-apiserver#150) under high load.
Database
New widgets for metrics related to the database connection pools:
Also included is a widget that shows the current number of entries in the caches maintained by DataNucleus.
Events and notifications
Units of widgets have been adjusted to make it more clear what exactly is shown. Using
ops/s
makes it a lot easier to understand what the graphs mean. Widgets that display absolute metric values (e.g. number of events queued) are now using bars instead of lines.Functional
Metrics for various "functional" areas of DT are now displayed in a new Functional row.
Addressed Issue
Additional Details
Checklist
This PR fixes a defect, and I have provided tests to verify that the fix is effectiveThis PR implements an enhancement, and I have provided tests to verify that it works as intendedThis PR introduces changes to the database model, and I have added corresponding update logicThis PR introduces new or alters existing behavior, and I have updated the documentation accordingly