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
"web.listen-address", "Address to listen on for web interface and telemetry.",
46
+
).Default(":9255").String()
47
+
48
+
metricsPath=kingpin.Flag(
49
+
"web.telemetry-path", "Path under which to expose Prometheus metrics.",
50
+
).Default("/metrics").String()
51
+
52
+
projectID=kingpin.Flag(
53
+
"google.project-id", "Comma seperated list of Google Project IDs.",
54
+
).String()
55
+
56
+
stackdriverMaxRetries=kingpin.Flag(
57
+
"stackdriver.max-retries", "Max number of retries that should be attempted on 503 errors from stackdriver.",
58
+
).Default("0").Int()
59
+
60
+
stackdriverHttpTimeout=kingpin.Flag(
61
+
"stackdriver.http-timeout", "How long should stackdriver_exporter wait for a result from the Stackdriver API.",
62
+
).Default("10s").Duration()
63
+
64
+
stackdriverMaxBackoffDuration=kingpin.Flag(
65
+
"stackdriver.max-backoff", "Max time between each request in an exp backoff scenario.",
66
+
).Default("5s").Duration()
67
+
68
+
stackdriverBackoffJitterBase=kingpin.Flag(
69
+
"stackdriver.backoff-jitter", "The amount of jitter to introduce in a exp backoff scenario.",
70
+
).Default("1s").Duration()
71
+
72
+
stackdriverRetryStatuses=kingpin.Flag(
73
+
"stackdriver.retry-statuses", "The HTTP statuses that should trigger a retry.",
74
+
).Default("503").Ints()
75
+
76
+
// Monitoring collector flags
77
+
78
+
monitoringMetricsTypePrefixes=kingpin.Flag(
79
+
"monitoring.metrics-type-prefixes", "Comma separated Google Stackdriver Monitoring Metric Type prefixes.",
80
+
).Required().String()
81
+
82
+
monitoringMetricsInterval=kingpin.Flag(
83
+
"monitoring.metrics-interval", "Interval to request the Google Stackdriver Monitoring Metrics for. Only the most recent data point is used.",
84
+
).Default("5m").Duration()
85
+
86
+
monitoringMetricsOffset=kingpin.Flag(
87
+
"monitoring.metrics-offset", "Offset for the Google Stackdriver Monitoring Metrics interval into the past.",
88
+
).Default("0s").Duration()
89
+
90
+
monitoringMetricsIngestDelay=kingpin.Flag(
91
+
"monitoring.metrics-ingest-delay", "Offset for the Google Stackdriver Monitoring Metrics interval into the past by the ingest delay from the metric's metadata.",
92
+
).Default("false").Bool()
93
+
94
+
collectorFillMissingLabels=kingpin.Flag(
95
+
"collector.fill-missing-labels", "Fill missing metrics labels with empty string to avoid label dimensions inconsistent failure.",
96
+
).Default("true").Bool()
97
+
98
+
monitoringDropDelegatedProjects=kingpin.Flag(
99
+
"monitoring.drop-delegated-projects", "Drop metrics from attached projects and fetch `project_id` only.",
0 commit comments