Skip to content

Conversation

@kavehshahedi
Copy link
Contributor

What it does

Until now, we have utilized output names (e.g., "CPU Usage" or "Disk I/O View") to manage data frames inside the modules. Although this methodology seems to work fine, it becomes problematic for cases where we have multiple outputs with the same name. For instance, when fetching an LTTng trace (kernel + UST) from the trace server, we might get two "Memory Usage" outputs, one is for the kernel's memory usage and the other one comes from the UST.
As of now, we use the output's id for this matter, enabling us to accurately differentiate the outputs from each other as each output has its own unique id.

How to test

You can either run the tests using pytest -v, or check the results/graphs/interpretations of each ML module (e.g., Anomaly Detection, Capacity Planning, etc.).

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

As now, we use output's id instead of its name for a more robust and
accurate data managements. Hence, for cases with multiple outputs with
same names, the ids will now diffrenciate them.

Signed-off-by: Kaveh Shahedi <kaveh.shahedi@ericsson.com>
@kavehshahedi kavehshahedi requested a review from bhufmann March 6, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant