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
Using google sdk to discover the project ID if it was not provided (#62)
* moving back the project ID to the main package, as, with the auto discovery, we want that to be defined at boottime, blocking the startup if needed, rather than doing it on each collector creation / handler. Simple project-id discovery logic using the gcloud sdk
Signed-off-by: Daniel Caballero <[email protected]>
|`google.project-id`<br />`STACKDRIVER_EXPORTER_GOOGLE_PROJECT_ID`|Yes || Google Project ID |
66
+
|`google.project-id`<br />`STACKDRIVER_EXPORTER_GOOGLE_PROJECT_ID`|No | GCloud SDK autodiscovery| Google Project ID |
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 |
"monitoring.metrics-type-prefixes", "Comma separated Google Stackdriver Monitoring Metric Type prefixes ($STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES).",
0 commit comments