Contrail analytics api query response time issue when querying 1d samples
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Invalid
|
Medium
|
Parth Sarupria | |||
R4.1 |
Invalid
|
Medium
|
Parth Sarupria | |||
Trunk |
Invalid
|
Medium
|
Parth Sarupria |
Bug Description
Contrail analytics api query response time increase when the duration is increased, even though the number of samples returned is the same.
In a setup with UVE pushed for 5 days, we have observed that when the query is made for last 7 days ("start_time": "now-7d"), we see time take around 5 secs (returning around 208 samples).
When we do for last 31 days ("start_time": "now-31d"), we see time take around 25 secs (returning same 208 samples).
Query used:
{"select_fields": ["app_metrics_
Please update contrail version, deployment details