Skip to content

feat: Make node_root, type configurable in Zapi - #4386

Merged
cgrinds merged 1 commit into
mainfrom
rg2-zapi-export
Aug 6, 2026
Merged

feat: Make node_root, type configurable in Zapi#4386
cgrinds merged 1 commit into
mainfrom
rg2-zapi-export

Conversation

@rahulguptajss

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 6, 2026 11:04
@cla-bot cla-bot Bot added the cla-signed label Aug 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR moves the exclusion of ZAPI “node root” and “tmp” volumes from hard-coded logic in the ZAPI volume collector into configuration, aligning ZAPI behavior with the existing REST volume configuration approach.

Changes:

  • Add exclude_equals rules to the ZAPI volume LabelAgent config to exclude type=tmp and node_root=true volumes.
  • Remove the corresponding in-code filtering from the ZAPI volume plugin (processAndUpdateVolume).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
conf/zapi/cdot/9.8.0/volume.yaml Adds config-based exclusions for tmp and node-root volumes via LabelAgent exclude_equals.
cmd/collectors/zapi/plugins/volume/volume.go Removes hard-coded exclusion logic now handled by configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cgrinds
cgrinds merged commit d284e40 into main Aug 6, 2026
14 checks passed
@cgrinds
cgrinds deleted the rg2-zapi-export branch August 6, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants