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

Statistics analysis engine dashboard queue usage is misleading #7192

Conversation

guidomodarelli
Copy link
Contributor

@guidomodarelli guidomodarelli commented Dec 3, 2024

Description

Currently, the analysis engine queue usage visualizations display not only the absolute value of the amount of decoded events, but also shows the queue usage percentages. Using the same visualization to display both values has proven to be misleading, therefore we have to design and propose a better and easier-to-understand way to show the percentages of the events queue usage.

Issues Resolved

Closes #7181

Evidence

image

Test

  1. Navigate to Server management » Statistics.
  2. Select the Analysis Engine tab.
  3. Check the following visualizations:
    • Syscheck
    • Syscollector
    • Rootcheck
    • SCA
    • Host Info

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

… and clean unused metrics for improved clarity
…onfigurations for better visualization and clarity
…roduce avg metric for queue usage with optimized script
…board panels for more accurate data representation
…vg metric for queue usage with cleared script configuration
…introduce avg metric for queue usage, and adjust axes
…oard panels to enhance data visibility and analysis
…* 0.9 for improved accuracy in visualizations
…ed values for improved visualization clarity and accuracy
…improve visualization accuracy across multiple components
…limits for accurate data representation across components
@chantal-kelm chantal-kelm self-requested a review December 4, 2024 18:05
chantal-kelm
chantal-kelm previously approved these changes Dec 4, 2024
Copy link
Member

@chantal-kelm chantal-kelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Captura de pantalla 2024-12-04 a la(s) 6 41 03 p  m Captura de pantalla 2024-12-04 a la(s) 6 40 56 p  m

…and accuracy in dashboard data representation
guidomodarelli and others added 3 commits December 10, 2024 10:21
…for improved clarity and consistency in project documentation
Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR: 🟢
Test: 🟢

image

Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 45.5% ( 400 / 879 )
Branches 41.09% ( 157 / 382 )
Functions 43.87% ( 136 / 310 )
Lines 45.69% ( 398 / 871 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 15.23% ( 4534 / 29766 )
Branches 10.07% ( 1942 / 19284 )
Functions 15.16% ( 1089 / 7183 )
Lines 15.44% ( 4423 / 28635 )

@chantal-kelm chantal-kelm self-requested a review December 11, 2024 13:27
Copy link
Member

@chantal-kelm chantal-kelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR: ✅
TEST: ✅

Captura de pantalla 2024-12-11 a la(s) 10 37 26 a  m

@asteriscos asteriscos merged commit 8a128e9 into 4.10.2 Dec 11, 2024
5 of 6 checks passed
@asteriscos asteriscos deleted the enhancement/7181-statistics-analysis-engine-dashboard-queue-usage-is-misleading branch December 11, 2024 14:32
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.

Statistics analysis engine dashboard queue usage is misleading
3 participants