boulder/cmd
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
..
admin-revoker Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-ca Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-publisher Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-ra Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-sa Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-va Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
boulder-wfe Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
cert-checker Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
contact-exporter Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
expiration-mailer Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
expired-authz-purger Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
notify-mailer Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
ocsp-responder Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
ocsp-updater Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
orphan-finder Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
single-ocsp Improve single-ocsp command (#2181) 2016-09-15 15:28:54 -07:00
testdata Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
clock_generic.go Switch to new vendor style (#1747) 2016-04-18 12:51:36 -07:00
clock_integration.go Switch to new vendor style (#1747) 2016-04-18 12:51:36 -07:00
config.go Remove old-style gRPC TLS configs (#2495) 2017-04-05 12:41:41 -04:00
config_test.go Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
shell.go Remove statsd from Boulder (#2752) 2017-05-15 10:19:54 -04:00
shell_test.go Adds test for ReadConfigFile 2016-11-26 18:01:59 -05:00