Handle PE move to a different resource
Closed this issue · 2 comments
bmwilli commented
Expected Behavior
When a PE moves to a different resource, the cooresponding label (resource) for metrics for that peid should change.
Actual Behavior
Currently this does not happen. In the case of most pe metrics, they just get the values updated but the resource label does not change to reflect to new resource. In the case of launchCount which is not a metric but comes from the PE JMX Object, it creates a new metric with the resource label but does not delete the old metric with the old resource label
Steps to Reproduce the Problem
- Look at metrics
- Move a pe via console
- Look at metrics for the pe (launchCount and nCpuMilliseconds)
Specifications
- Version of Application: current / all
- Version of IBM Sterams: 4.3.x
bmwilli commented
Solution direction: Need to look for and handle PE relocation.
When detected, delete metrics with the old label combination.
New metrics should be created with the new combinations
bmwilli commented
Will be in new 3.x release