How to expose number of transactions?

I want a way to monitor the number of restic transactions it makes during backups/restores/prune operations. My cloud provider b2 only offers the ability to see transactions via their web gui report, but do not offer these metrics via cli/api.

What is a good way to count the number of transactions restic makes for a particular command?

1 Like

Are you talking about HTTP transactions against B2?

yes, exactly.

@fd0 any suggestions? would you consider an option to expose these numbers within a more verbose logging parameter?

Or at least some rough guidance as to what parameters i should expose myself, if i fork the project.