diff --git a/exporter/collector/googlemanagedprometheus/factory.go b/exporter/collector/googlemanagedprometheus/factory.go index 35985ce45..fee1bd266 100644 --- a/exporter/collector/googlemanagedprometheus/factory.go +++ b/exporter/collector/googlemanagedprometheus/factory.go @@ -27,7 +27,7 @@ import ( const ( // The value of "type" key in configuration. - typeStr = "googlemanagedprometheus" + typeStr = "googlemanagedserviceforprometheus" defaultTimeout = 12 * time.Second // Consistent with Cloud Monitoring's timeout )