Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
-
UI - 2021 - Nov, UI 2021-Dec, UI 2022-Jan
Description
Note, Timofey Barmin indicated that _uistats in the UI code eventing.js is an old API and there isa new ns_server range based API that should be used when we went to CC.
The statistics in question drive the incrementing numeric counts for each deployed Eventing Function.
Deployment Statistics: success failure timeout
|
79713 0 0
|
Refer to the eventing.js internal function contains a POST call to _uistats (in function getDeployedStats)
getDeployedStats: function(statsConfig) {
|
// just one sample sometimes gets nothing, so grab the last five seconds
|
return $http.post('/_uistats',
|
'[{"bucket":"' + statsConfig.metaDataBucket +
|
'","step":1,"stats":[' + statsConfig.reqstats +
|
'],"startTS":-5000,"aggregate":true}]'
|
);
|
},
|
Attachments
Issue Links
- relates to
-
MB-50338 Eventing Function statistics not working for both numeric and charts
- Closed
For Gerrit Dashboard: MB-48692 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
168546,8 | MB-48692: use mnStatisticsNewService to get stats | unstable | eventing | Status: MERGED | +2 | +1 |
168610,6 | MB-48692: add eventing item stats names mapping | master | ns_server | Status: MERGED | +2 | +1 |
168663,4 | MB-48692: apply nodesAggregation: 'special' to eventing_processed_count | master | ns_server | Status: MERGED | +2 | +1 |
168681,3 | MB-48692: use ng-if with mn-detail-stats directive | unstable | eventing | Status: MERGED | +2 | +1 |
168687,3 | MB-48692: apply bucket: null label to eventing_dcp_backlog | master | ns_server | Status: MERGED | +2 | +1 |
168839,2 | MB-48692: mnDetailStats: filter out stats without description | master | ns_server | Status: MERGED | +2 | +1 |
168907,3 | MB-48692: fix review issues | unstable | eventing | Status: MERGED | +2 | +1 |