Incorrect values for gitaly_catfile_processes metric
It looks like the gitaly_catfile_processes
metric only reports negative values, and continuously grows rather than reporting the number of active processes.
Is it because the cancel function may be called multiple times? Should this function use https://pkg.go.dev/sync#OnceFunc to prevent this?
Edited by Thomas Way