From e706ebb29423f5f7215c6f43ad44ddab3605c943 Mon Sep 17 00:00:00 2001 From: Bill Prin Date: Thu, 12 Jan 2017 16:55:12 -0800 Subject: [PATCH] Add region tags for writing timeseries (#298) --- monitoring/create_custom_metric.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitoring/create_custom_metric.js b/monitoring/create_custom_metric.js index 06bc75c9e1..378eecf789 100644 --- a/monitoring/create_custom_metric.js +++ b/monitoring/create_custom_metric.js @@ -110,6 +110,7 @@ CustomMetrics.prototype.createCustomMetric = function (client, callback) { * @param {Object} authClient The authorized Stackdriver Monitoring API client * @param {Function} callback Callback Function. */ +// [START write_timeseries] CustomMetrics.prototype.writeTimeSeriesForCustomMetric = function (client, callback) { var monitoring = google.monitoring('v3'); @@ -153,6 +154,7 @@ CustomMetrics.prototype.writeTimeSeriesForCustomMetric = callback(null, timeSeries); }); }; +// [END write_timeseries] /** * Lists the time series written for the custom metric. The window