-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 11.3.2
-
Component/s: Apdex
-
None
-
11.03
-
Severity 3 - Minor
Issue Summary
If disabling Analytics, Apdex seems stop functioning normally.
You won't see any new output in atlassian-jira-apdex.log, even after waiting 1 hour (the time span for outputting apdex data).
Also, If running the rest api of "/rest/apdex/1/apdex?key=overall
" , the parameter of "apdex" shows "-1" and r "totalCount" shows "0" . That means Apdex metrics is not gathered.
This behavior may be due to the stop of "/jira/rest/analytics/1.0/publish/bulk" in JRASERVER-70086: Disabling Jira Analytics should stop sending POST requests to /jira/rest/analytics/1.0/publish/bulk after Jira 10.7 . "/jira/rest/analytics/1.0/publish/bulk" may be used for Apdex.
Steps to Reproduce
- Login Jira with admin
- Move into JIRA ADMINISTRATION > System > Analytics
- Select "Disabled" in "Sharing options"
- Move to Dashboards > View System Dashboard (to have some data for APDEX)
- In URL location of browser, paste https://<base_url>/rest/apdex/1/apdex?key=overall to run the REST API to show APDEX metrics.
Expected Results
Apdex metrics are gathered, there will be a value for "apdex" and the value for "totalCount", not like "-1" and "0".
{"apdex":88,"satisfiedCount":14,"toleratingCount":2,"frustratedCount":1,"totalCount":17}
Actual Results
The parameter of "apdex" shows "-1" and r "totalCount" shows "0" . That means Apdex metrics is not gathered.
{"apdex":-1,"satisfiedCount":0,"toleratingCount":0,"frustratedCount":0,"totalCount":0}
Workaround
Enable Analytics again