This PR adds a configuration option to the MetricConfiguration that allows the user to configure the underlying instance of MetricServiceClient which is used by the exporter to interact with the Cloud Monitoring API.
This feature is intended for advanced use-cases only.
Testing
Added unit tests pass.
Updated the metrics sample to demonstrate a use-case for the setMetricServiceSettings function.
Description
This PR adds a configuration option to the
MetricConfiguration
that allows the user to configure the underlying instance ofMetricServiceClient
which is used by the exporter to interact with the Cloud Monitoring API.This feature is intended for advanced use-cases only.
Testing
setMetricServiceSettings
function.fixes. #149