Drop the three retired remoted counters from both statistics schemas - #819
Open
ignaciogalle12git wants to merge 2 commits into
Open
Drop the three retired remoted counters from both statistics schemas#819ignaciogalle12git wants to merge 2 commits into
ignaciogalle12git wants to merge 2 commits into
Conversation
11 tasks
Open
4 tasks
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 12, 2026 08:46
16953ed to
97e65f1
Compare
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 13, 2026 10:11
6331110 to
199515f
Compare
ignaciogalle12git
marked this pull request as ready for review
August 13, 2026 10:11
TomasTurina
force-pushed
the
5.0.0-https
branch
from
August 14, 2026 14:08
fe57191 to
6795b86
Compare
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 14, 2026 14:38
199515f to
7aa7fa9
Compare
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 17, 2026 09:32
7aa7fa9 to
729c5fe
Compare
ignaciogalle12git
marked this pull request as draft
August 17, 2026 09:48
ignaciogalle12git
marked this pull request as ready for review
August 17, 2026 09:55
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 17, 2026 12:05
12e719d to
c626eb7
Compare
…ics schema - states, ar and sent_breakdown.request have no reachable writer since 5.x (wazuh/wazuh#38280); removed from properties and required in cluster_statistics_format_test_module/wazuh-manager-remoted_template.json - test_statistics_format.py was failing against a manager carrying that change
GET /agents/{agent_id}/daemons/stats and its only consumer,
test_agent_statistics_format, were removed from wazuh/wazuh's integration
suite on 2026-08-13 along with the rest of the per-agent remoted statistics
surface. Nothing reads agent_statistics_format_test_module any more.
- Delete the module (wazuh-manager-remoted_template.json and the untouched
wazuh-manager-analysisd_template.json)
- Drop the now-dangling entries from setup.py's package_data_list
cluster_statistics_format_test_module is unaffected: GET /cluster/{node_id}/daemons/stats
and test_cluster_statistics_format both still exist.
ignaciogalle12git
force-pushed
the
enhancement/38280-reduce-remoted-agent-stats
branch
from
August 17, 2026 12:26
c626eb7 to
83ac61c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Companion to wazuh/wazuh#38280 (wazuh/wazuh#38319), which retires three remoted counters with no reachable writer:
states,ar(active response now excludesv[0-4]agents) andsent_breakdown.request(its channel has no clients left). They're listed underrequiredincluster_statistics_format_test_module/wazuh-manager-remoted_template.json, sotest_statistics_format.pyfails against a manager carrying that change.Proposed Changes
states,arandsent_breakdown.requestfromcluster_statistics_format_test_module/wazuh-manager-remoted_template.json.agent_statistics_format_test_module/entirely:GET /agents/{agent_id}/daemons/statsand its only consumer,test_agent_statistics_format, were removed fromwazuh/wazuhon 2026-08-13, so nothing reads it any more. Also drops its two dangling entries fromsetup.py.control_breakdown.request,controlandsent_breakdown.sharedstay: different struct, or still real 4.x traffic.Results and Evidence
No remaining reference to
agent_statistics_format_test_moduleanywhere inwazuh/wazuh.test_cluster_statistics_formatstill exercisesGET /cluster/{node_id}/daemons/statsagainst the updated schema. Not run against a deployed 5.0 manager.