-
Notifications
You must be signed in to change notification settings - Fork 589
Added to show the number of instances in the topology list UI. #3831
Added to show the number of instances in the topology list UI. #3831
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Do we have any other tests that cover this part of the code?
42a5504
to
4e70fd9
Compare
I might have missed something, but got the following error when attempting a local run. Installed locally: I ran Ran a local topology: Saw this error in the
Is it possible that I'm not running the right binary of |
Add TestCase test_instances of Tracker Change number type of Instances Change number type of Instances Check has attribute of physical_play
f6346a2
to
272ad20
Compare
@nicknezis Thanks There seems to be a case where the object temporarily does not exist at the time of update. And I executed the component as below. Tracker
HeronUI
|
When you click on one of those links to view the details of a specific job, do you see the instance count beneath the logical and physical plan diagrams? |
yes. |
The value is blank in your image. I see the instance count at the top, but not in the middle of the image. |
It is because the tracker cannot calculate all metrics.
|
It may be pending because heron-tracker takes a long time to get the results of the stats of the metrics-manager of all instances and calculate it. |
Interesting. I wonder if we should update the page to use the variable that is used to present the instance count at the top of the page. I tested locally with the AckingTopology and it was empty. But I did not wait long enough for the metrics gathering to complete. I'll take a look at the html to better understand the difference of the top instance count and the middle instance count. |
This change fixed the missing instance count. |
Added to show the number of instances in the topology list UI.
It would be nice to have this on the topology list. It is necessary to determine the status of which topology and how many instances are being used.