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
Copy file name to clipboardexpand all lines: README.md
+10
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,7 @@ If you are still using the legacy [Access scopes][access-scopes], the `https://w
67
67
|`monitoring.metrics-type-prefixes`<br />`STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES`| Yes || Comma separated Google Stackdriver Monitoring Metric Type prefixes (see [example][metrics-prefix-example] and [available metrics][metrics-list]) |
68
68
|`monitoring.metrics-interval`<br />`STACKDRIVER_EXPORTER_MONITORING_METRICS_INTERVAL`| No |`5m`| Metric's timestamp interval to request from the Google Stackdriver Monitoring Metrics API. Only the most recent data point is used |
69
69
|`monitoring.metrics-offset`<br />`STACKDRIVER_EXPORTER_MONITORING_METRICS_OFFSET`| No |`0s`| Offset (into the past) for the metric's timestamp interval to request from the Google Stackdriver Monitoring Metrics API, to handle latency in published metrics |
70
+
|`monitoring.filters`| No | Empty list | Formatted string to allow filtering on certain metrics type |
70
71
|`web.listen-address`<br />`STACKDRIVER_EXPORTER_WEB_LISTEN_ADDRESS`| No |`:9255`| Address to listen on for web interface and telemetry |
71
72
|`web.telemetry-path`<br />`STACKDRIVER_EXPORTER_WEB_TELEMETRY_PATH`| No |`/metrics`| Path under which to expose Prometheus metrics |
Copy file name to clipboardexpand all lines: collectors/monitoring_collector.go
+28
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,20 @@ var (
51
51
monitoringDropDelegatedProjects=kingpin.Flag(
52
52
"monitoring.drop-delegated-projects", "Drop metrics from attached projects and fetch `project_id` only ($STACKDRIVER_EXPORTER_DROP_DELEGATED_PROJECTS).",
0 commit comments