Description of problem: Object gateway performance chart Latency should be fator the latency count
Version-Release number of selected component (if applicable): On Object service dashboard, Object gateway performance chart Latency should be fator the latency count
How reproducible: 100 %
Steps to Reproduce:
Current Queries : latencyGet: 'avg(rate(ceph_rgw_get_initial_lat_sum[1m]))',
Expected Queries: latencyGet: 'avg(rate(ceph_rgw_get_initial_lat_sum[1m])) /avg(rate(ceph_rgw_get_initial_lat_count[1m])>0)',
latencyPut: 'avg(rate(ceph_rgw_put_initial_lat_sum[1m])) /avg(rate(ceph_rgw_put_initial_lat_count[1m])>0)',
Created attachment 1721425 [details]
Object Gateway latency comparison
Current chart doesn't contain any information that the chart takes into account latency count. There is no tooltip or label that indicates it.
In 'Object Gateway latency comparison' screenshot is compared how the latency graph looks with metrics queries provided in BZ description. From the comparison it seems that query provided in Expected results is provided (units and spacing between PUT and GET look similar).
@Anmol do you think that this is enough to verify this? If not, can you please provide me reproducer steps to verify the fix (where should I look for the change)?
@Bipul Please fill 'Fixed in version' information.
@filip Its the queries that had to be changed and thats what this BZ addresses. The units and spacing will remain same. There will be no visual changes, but just the data points.
Verification step can be just comparing the actual graph on the dashboard and plotting the same queries in the Promethues UI. If the values and graph look same, its right.
Any builds post `2020-10-06 18:31:33 UTC` should have the fix. Since you tested on `2020-10-13` it should hence contain the fix.
Created attachment 1721481 [details]
Latency GET comparison
Created attachment 1721482 [details]
Latency PUT comparison
After more testing it seems that queries provided in 'Expected Results' section in Description of this BZ are in place. -> VERIFIED
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.