Skip to content

Count garbage collected items #481

@hiddeco

Description

@hiddeco

In the reconcilers-dev branch we have started to be more informative about the precise actions that were taken during a reconcile run.

At present, this means that it will tell that it (successfully) run the garbage collection. It would however be more meaningful if we only pushed an event if any items were collected, or a failure occurred.

To be able to determine this, we need to know the number of items that were removed. We could do better however, and at least collect details about the precise items that were removed.

Relevant lines in reconcilers are at present marked with:

// TODO(hidde): we should only push this event if we actually garbage collected something

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/storageStorage related issues and pull requestsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions