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

Stats schema update/v5 #10348

Closed
wants to merge 4 commits into from
Closed

Conversation

inashivb
Copy link
Member

@inashivb inashivb commented Feb 9, 2024

Description of some stats params.
Can be merged as-is once approved or we can wait for other stats updates too.

Link to redmine ticket: https://redmine.openinfosecfoundation.org/issues/6434

Previous PR: #10324

Changes since v3:

  • Moved description above type even in refs case
  • added description to refs in applayer errors
  • added description to applayer.flow stats

@inashivb inashivb force-pushed the stats-schema-update/v5 branch from 04a2a09 to d2bd472 Compare February 9, 2024 14:19
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7e4dba7) 82.32% compared to head (d2bd472) 82.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10348      +/-   ##
==========================================
- Coverage   82.32%   82.32%   -0.01%     
==========================================
  Files         978      978              
  Lines      272147   272147              
==========================================
- Hits       224057   224046      -11     
- Misses      48090    48101      +11     
Flag Coverage Δ
fuzzcorpus 63.59% <ø> (-0.01%) ⬇️
suricata-verify 61.46% <ø> (-0.03%) ⬇️
unittests 62.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@inashivb inashivb marked this pull request as ready for review February 9, 2024 15:20
@inashivb inashivb requested a review from a team as a code owner February 9, 2024 15:20
@inashivb inashivb requested a review from jufajardini February 9, 2024 15:20
"type": "integer"
},
"app_layer": {
"type": "object",
"properties": {
"expectations": {
"description": "Expectation (dynamic parallel flow) counter",
Copy link
Member

Choose a reason for hiding this comment

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

what is 'dynamic parallel flow'? Its not something we refer to anywhere else?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I read it in the code as the definition of expectation. See: https://github.com/OISF/suricata/blob/master/src/app-layer-expectation.c#L26
Do you propose this to be removed?

etc/schema.json Show resolved Hide resolved
etc/schema.json Show resolved Hide resolved
etc/schema.json Show resolved Hide resolved
@inashivb inashivb closed this Feb 15, 2024
@inashivb inashivb deleted the stats-schema-update/v5 branch February 15, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants