boulder/va
Jacob Hoffman-Andrews b17b5c72a6 Remove statsd from Boulder (#2752)
This removes the config and code to output to statsd.

- Change `cmd.StatsAndLogging` to output a `Scope`, not a `Statter`.
- Remove the prefixing of component name (e.g. "VA") in front of stats; this was stripped by `autoProm` but now no longer needs to be.
- Delete vendored statsd client.
- Delete `MockStatter` (generated by gomock) and `mocks.Statter` (hand generated) in favor of mocking `metrics.Scope`, which is the interface we now use everywhere.
- Remove a few unused methods on `metrics.Scope`, and update its generated mock.
- Refactor `autoProm` and add `autoRegisterer`, which can be included in a `metrics.Scope`, avoiding global state. `autoProm` now registers everything with the `prometheus.Registerer` it is given.
- Change va_test.go's `setup()` to not return a stats object; instead the individual tests that care about stats override `va.stats` directly.

Fixes #2639, #2733.
2017-05-15 10:19:54 -04:00
..
proto Update github.com/grpc-ecosystem/go-grpc-prometheus and google.golang.org/grpc (#2637) 2017-04-03 11:13:48 -07:00
gsb.go Spelling (#2500) 2017-01-16 10:44:52 -05:00
gsb_test.go Remove caa-checker from the tree (#2351) 2016-11-23 08:42:33 -05:00
mock_gsb_test.go Switch to new vendor style (#1747) 2016-04-18 12:51:36 -07:00
va.go Rewords IPv6 -> IPv4 fallback error messages. 2017-05-11 10:35:30 -04:00
va_test.go Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00