Daniel Nephin 1a137c29d6 grpc: fix grpc metrics
defaultMetrics was being set at package import time, which meant that it received an instance of
the original default. But lib/telemetry.InitTelemetry sets a new global when it is called.

This resulted in the metrics being sent nowhere.

This commit changes defaultMetrics to be a function, so it will return the global instance when
called. Since it is called after InitTelemetry it will return the correct metrics instance.
2020-11-11 14:27:25 -05:00
..
2020-11-11 14:27:25 -05:00
2020-11-09 09:22:12 -05:00
2020-09-14 16:28:40 -06:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00