-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.6.5, 7.9.2
-
Component/s: System Administration - Others
-
7.06
-
6
-
Severity 2 - Major
-
1
Background:
See Live monitoring using the JMX interface
A list of metrics collected by JIRA is provided on this page.
Current Behavior:
Some metrics return invalid values.
Example: entity.filters.total returns -1 due to encountering DataAccessException caused by invalid entityName.
Incorrect values have been reproduced with:
- entity.filters.total
- entity.groups.total
- entity.users.total
- issue.assigned.count
- issue.search.count
- issue.link.count
- issue.worklogged.count
Expected Behavior:
JIRA JMX metrics mbeans return correct values
Additional Details:
Some invalid values caused by DataAccessException when retrieving count.
- These metrics show -1 for the values. The value "-1" is returned when DataAccessException is encountered
protected long computeValue() {
try {
return ComponentAccessor.getOfBizDelegator().getCount(entityName);
} catch (DataAccessException e) {
return -1;
}