BaseInit: Bind DisabledMetricMaker

In some cases a plugin may have an InitStep that refers to other
classes in its implementation, that in turn get a MetricMaker
injected.

Since the MetricMaker, among other things, is not available to
the InitStep, this results in a guice injection error during the
plugins init step of site initialization.

Bind the DisabledMetricMaker to avoid the injection error. This
has the result that the InitStep works, but no metrics can be
recorded. Update the metrics documentation to explicitly mention
that metrics are not available during plugin init steps.

Bug: Issue 5438
Change-Id: Iac9f462eb93a2ae668d5c934e61eda9f23bd3c4d
diff --git a/Documentation/dev-plugins.txt b/Documentation/dev-plugins.txt
index b6b7d67..d085731 100644
--- a/Documentation/dev-plugins.txt
+++ b/Documentation/dev-plugins.txt
@@ -2217,6 +2217,9 @@
 +
 Metric recording statistical distribution (rate) of values.
 
+Note that metrics cannot be recorded from plugin init steps that
+are run during site initialization.
+
 Plugin metrics are recorded under `plugins/${plugin-name}/${metric-name}`.
 
 See the replication metrics in the