Also instead of repeating the same bucket definitions everywhere just use a single top level var in the metrics package in order to discourage copy/pasting. Fixes #3607. |
||
|---|---|---|
| .. | ||
| measured_http | ||
| mock_metrics | ||
| auto.go | ||
| auto_test.go | ||
| scope.go | ||
| scope_test.go | ||
Also instead of repeating the same bucket definitions everywhere just use a single top level var in the metrics package in order to discourage copy/pasting. Fixes #3607. |
||
|---|---|---|
| .. | ||
| measured_http | ||
| mock_metrics | ||
| auto.go | ||
| auto_test.go | ||
| scope.go | ||
| scope_test.go | ||