Fixes issues with registering metrics. Metrics are registered once per combination of name and tags - subsequent calls are lost. It is required to keep counters for each combination, which gets hairy. This PR simplifies the setup, removes the file error metrics, and removes version and file tags.
Issue
Closes #438
Unit tests
Unit tests were added to reproduce the problems and verify solution.
Summary
Fixes issues with registering metrics. Metrics are registered once per combination of name and tags - subsequent calls are lost. It is required to keep counters for each combination, which gets hairy. This PR simplifies the setup, removes the file error metrics, and removes version and file tags.
Issue
Closes #438
Unit tests
Unit tests were added to reproduce the problems and verify solution.