Raising an error just because a value isn't specified is a little too aggressive. Instead, we can still register the metric and just log the issue. This should prevent unwanted exceptions from bubbling up into the application. We should also not send any metrics if no samples have been collected.
Before submitting a pull request, please make sure the following is done:
If you've fixed a bug or added code that should be tested, add tests!
Raising an error just because a value isn't specified is a little too aggressive. Instead, we can still register the metric and just log the issue. This should prevent unwanted exceptions from bubbling up into the application. We should also not send any metrics if no samples have been collected.
Before submitting a pull request, please make sure the following is done:
rake spec
in the repository root.