boulder/cmd/ocsp-updater
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
..
main.go Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
main_test.go Block issuance on first OCSP response generation (#2633) 2017-04-04 11:28:09 -07:00
test-cert-b.pem Fix ocsp-updater unit tests. (#1892) 2016-06-06 12:51:21 -04:00
test-cert.pem Fix ocsp-updater unit tests. (#1892) 2016-06-06 12:51:21 -04:00