|
13 | 13 |
|
14 | 14 | /**
|
15 | 15 | * @fileoverview Simple command-line program to demonstrate creating a custom
|
16 |
| - * metric with the Google Cloud Monitoring API, writing a random value to it, |
| 16 | + * metric with the Stackdriver Monitoring API, writing a random value to it, |
17 | 17 | * and reading it back.
|
18 | 18 | */
|
19 | 19 | 'use strict';
|
@@ -107,7 +107,7 @@ CustomMetrics.prototype.createCustomMetric = function (client, callback) {
|
107 | 107 | * demonstration purposes, this is a random value. For GAUGE measurements,
|
108 | 108 | * the start time and end time of the value must be the same. The
|
109 | 109 | * resource for this value is a hypothetical GCE instance.
|
110 |
| - * @param {Object} authClient The authorized Google Cloud Monitoring API client |
| 110 | + * @param {Object} authClient The authorized Stackdriver Monitoring API client |
111 | 111 | * @param {Function} callback Callback Function.
|
112 | 112 | */
|
113 | 113 | CustomMetrics.prototype.writeTimeSeriesForCustomMetric =
|
@@ -159,7 +159,7 @@ CustomMetrics.prototype.writeTimeSeriesForCustomMetric =
|
159 | 159 | * to read the timeseries starts an hour ago and extends unti the current
|
160 | 160 | * time, so should include the metric value written by
|
161 | 161 | * the earlier calls.
|
162 |
| - * @param {Object} authClient The authorized Google Cloud Monitoring API client |
| 162 | + * @param {Object} authClient The authorized Stackdriver Monitoring API client |
163 | 163 | * @param {Function} callback Callback function.
|
164 | 164 | */
|
165 | 165 | CustomMetrics.prototype.listTimeSeries = function (client, callback) {
|
@@ -187,7 +187,7 @@ CustomMetrics.prototype.listTimeSeries = function (client, callback) {
|
187 | 187 | };
|
188 | 188 |
|
189 | 189 | /**
|
190 |
| - * @param {Object} authClient The authorized Google Cloud Monitoring API client |
| 190 | + * @param {Object} authClient The authorized Stackdriver Monitoring API client |
191 | 191 | * @param {Function} callback Callback function.
|
192 | 192 | */
|
193 | 193 | CustomMetrics.prototype.deleteMetric = function (client, callback) {
|
|
0 commit comments