Skip to content

ENT-14477: Replace reporting system with leech2 - #3239

Draft
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:leech2-reporting
Draft

larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:leech2-reporting

Conversation

@larsewi

@larsewi larsewi commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Collects the changes for epic ENT-14477. Agents report everything through leech2, while the hub keeps legacy ingestion for older agents.

Keep as draft. Merge once the epic is done.

Together with:

@cf-bottom

Copy link
Copy Markdown

Thank you for submitting a PR! Maybe @craigcomstock can review this?

…include` and `report_metatags_exclude`

Report filtering is moving from `cf-serverd` (`report_data_select` in
`controls/reports.cf`) to `cf-agent`, one chapter at a time as each moves
to leech2 reporting. Classes are the first, so `cf-agent` now filters them
with the same metatags. `cf-serverd` keeps filtering variables (`VAD`),
execution log (`ELD`), promise log (`PLG`) and monitoring (`MOM`, `MOY`,
`MOH`) until they have moved too.

Changelog: Title
Ticket: ENT-14507
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Comment thread controls/cf_agent.cf
# Metatags filter for classes reported to the hub. Keep in sync with
# metatags_include / metatags_exclude in controls/reports.cf.
report_metatags_include => { "inventory", "report" };
report_metatags_exclude => { "noreport" };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What happens for classes that don't match either include nor exclude? Namespace scoped classes are included by default right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants