Closed janhicken closed 2 years ago
Using the default configuration of StackdriverStatsConfiguration, a MetricServiceClient is initialized by the StackdriverStatsExporter.
StackdriverStatsConfiguration
MetricServiceClient
StackdriverStatsExporter
This client was never closed, this will be done now when the StackdriverStatsExporter.unregister() method is called.
StackdriverStatsExporter.unregister()
If a custom MetricServiceStub is given by the user, it will not be closed as the user should be in charge of it.
MetricServiceStub
This should fix #2007.
Using the default configuration of
StackdriverStatsConfiguration
, aMetricServiceClient
is initialized by theStackdriverStatsExporter
.This client was never closed, this will be done now when the
StackdriverStatsExporter.unregister()
method is called.If a custom
MetricServiceStub
is given by the user, it will not be closed as the user should be in charge of it.This should fix #2007.