Skip to content
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

Update remoted CSV headers in visualization tool #2202

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

jmv74211
Copy link
Contributor

Related issue
close #2195

Description

This PR fixes the KeyError: 'msg_sent' bug in the tool to be able to plot the remoted statistics data. This bug caused the images not to be generated in the cluster test pipeline.

After the fix, you can see how the images are generated correctly.

stats
└── remoted
    ├── wazuh-remoted_stats_events_info.svg
    ├── wazuh-remoted_stats_queue_size.svg
    ├── wazuh-remoted_stats_recv_bytes.svg
    └── wazuh-remoted_stats_tcp_sessions.svg

Regarding the monitoring of the stats, no changes were necessary, since all the lines of the wazuh-remoted.state file are dynamically parsed.

Necessary to update the new fields in the wazuh-remoted.state file of v4.3.0
@jmv74211 jmv74211 requested a review from snaow November 12, 2021 09:46
@jmv74211 jmv74211 self-assigned this Nov 12, 2021
@snaow snaow merged commit 14b0c2d into master Nov 30, 2021
@snaow snaow deleted the 2195-update-statistics-tool branch November 30, 2021 22:53
@snaow snaow mentioned this pull request Jan 27, 2022
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.

Generate artifacts step failing when remote option is selected
2 participants