You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.WithError(errCollector).Fatal("could not instantiate collector")
@@ -73,6 +86,7 @@ func main() {
73
86
}
74
87
75
88
funcparseFlags() {
89
+
flag.StringVar(&cacheTTL, "cache-ttl", getenv("CACHE_TTL", ""), "cache TTL for API results, e.g. 60s. If empty, disables cache")
76
90
flag.StringVar(&googleApiKey, "api-key", getenv("PAGESPEED_API_KEY", ""), "sets the google API key used for pagespeed")
77
91
flag.StringVar(&credentialsFile, "credentials-file", getenv("PAGESPEED_CREDENTIALS_FILE", ""), "sets the location of the credentials file used for pagespeed")
78
92
flag.StringVar(&listenerAddress, "listener", getenv("PAGESPEED_LISTENER", ":9271"), "sets the listener address for the exporters")
0 commit comments