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
"Google Project ID ($STACKDRIVER_EXPORTER_GOOGLE_PROJECT_ID).",
25
-
)
26
-
27
-
monitoringMetricsTypePrefixes=flag.String(
28
-
"monitoring.metrics-type-prefixes", "",
29
-
"Comma separated Google Stackdriver Monitoring Metric Type prefixes ($STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES).",
30
-
)
31
-
32
-
monitoringMetricsInterval=flag.Duration(
33
-
"monitoring.metrics-interval", 5*time.Minute,
34
-
"Interval to request the Google Stackdriver Monitoring Metrics for. Only the most recent data point is used ($STACKDRIVER_EXPORTER_MONITORING_METRICS_INTERVAL).",
35
-
)
36
-
37
-
monitoringMetricsOffset=flag.Duration(
38
-
"monitoring.metrics-offset", 0*time.Second,
39
-
"Offset for the Google Stackdriver Monitoring Metrics interval into the past ($STACKDRIVER_EXPORTER_MONITORING_METRICS_OFFSET).",
40
-
)
41
-
42
-
listenAddress=flag.String(
43
-
"web.listen-address", ":9255",
44
-
"Address to listen on for web interface and telemetry ($STACKDRIVER_EXPORTER_WEB_LISTEN_ADDRESS).",
45
-
)
46
-
47
-
metricsPath=flag.String(
48
-
"web.telemetry-path", "/metrics",
49
-
"Path under which to expose Prometheus metrics ($STACKDRIVER_EXPORTER_WEB_TELEMETRY_PATH)).",
50
-
)
51
-
52
-
showVersion=flag.Bool(
53
-
"version", false,
54
-
"Print version information.",
55
-
)
56
-
)
21
+
projectID=kingpin.Flag(
22
+
"google.project-id", "Google Project ID ($STACKDRIVER_EXPORTER_GOOGLE_PROJECT_ID).",
"monitoring.metrics-type-prefixes", "Comma separated Google Stackdriver Monitoring Metric Type prefixes ($STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES).",
"monitoring.metrics-interval", "Interval to request the Google Stackdriver Monitoring Metrics for. Only the most recent data point is used ($STACKDRIVER_EXPORTER_MONITORING_METRICS_INTERVAL).",
"monitoring.metrics-offset", "Offset for the Google Stackdriver Monitoring Metrics interval into the past ($STACKDRIVER_EXPORTER_MONITORING_METRICS_OFFSET).",
0 commit comments