-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix data visualization script graphics generation #5021
Conversation
5f44e31
to
64726e9
Compare
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.
LGTM
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! Just an additional request: please, add a changelog entry for these changes.
Edit: it seems two minor changes are also needed for the linter check to pass:
64726e9
to
645ec52
Compare
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.
Please add a CI build
c00f1b3
to
f9a01e6
Compare
a8113c8
to
83415a3
Compare
83415a3
to
1bfd713
Compare
Description
Fixes some errors from the data visualization script during the cluster, analysisd and remoted statistics graphics generation.
Build: https://ci.wazuh.info/job/CLUSTER-Workload_benchmarks_metrics/482/
Artifacts: artifacts_logcollector.zip
The graphic generation is failing because the pull request #5007 was merged and now the
analysisd
andremoted
statistics are gathered from the API endpoints instead of the.state
files, and the visualization script hasn't been updated.The changes introduced in this pull request fix the graphics generation for the
logcollectord
statistics files only. To generate graphics using the files containing statistics from the API, a script refactor is needed. We've opened #5022 to work on that.Testing performed