@google-cloud/monitoring
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -7,2 +7,15 @@ # Changelog | ||
## [1.6.0](https://www.github.com/googleapis/nodejs-monitoring/compare/v1.5.0...v1.6.0) (2019-11-15) | ||
### Features | ||
* add service api support ([#325](https://www.github.com/googleapis/nodejs-monitoring/issues/325)) ([dbc3680](https://www.github.com/googleapis/nodejs-monitoring/commit/dbc36809baeef4fe860da898face3d04103cca63)) | ||
* Introduced detailed status message for CreateTimeSeries: CreateTimeSeriesSummary replaces CreateTimeSeriesError, which is now deprecated and unused ([46e0661](https://www.github.com/googleapis/nodejs-monitoring/commit/46e0661286f8b59c4124338477c5104cd1f5a099)) | ||
### Bug Fixes | ||
* **docs:** snippets are now replaced in jsdoc comments ([#324](https://www.github.com/googleapis/nodejs-monitoring/issues/324)) ([6d81605](https://www.github.com/googleapis/nodejs-monitoring/commit/6d8160596340a0c3ee9f4540e505d3e329a532eb)) | ||
## [1.5.0](https://www.github.com/googleapis/nodejs-monitoring/compare/v1.4.0...v1.5.0) (2019-10-22) | ||
@@ -9,0 +22,0 @@ |
{ | ||
"name": "@google-cloud/monitoring", | ||
"description": "Stackdriver Monitoring API client for Node.js", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"license": "Apache-2.0", | ||
@@ -14,5 +14,3 @@ "author": "Google Inc", | ||
"src", | ||
"protos", | ||
"AUTHORS", | ||
"LICENSE" | ||
"protos" | ||
], | ||
@@ -33,10 +31,7 @@ "keywords": [ | ||
"scripts": { | ||
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json", | ||
"lint": "eslint '**/*.js'", | ||
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../", | ||
"system-test": "mocha system-test/*.js --timeout 600000", | ||
"test-no-cover": "mocha test/*.js", | ||
"test": "npm run cover", | ||
"test": "c8 mocha", | ||
"fix": "eslint '**/*.js' --fix", | ||
@@ -50,3 +45,3 @@ "docs-test": "linkinator docs", | ||
"devDependencies": { | ||
"@google-cloud/nodejs-repo-tools": "^3.0.0", | ||
"c8": "^6.0.1", | ||
"codecov": "^3.0.0", | ||
@@ -57,11 +52,11 @@ "eslint": "^6.0.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"jsdoc-fresh": "^1.0.1", | ||
"intelli-espower-loader": "^1.0.1", | ||
"jsdoc": "^3.5.5", | ||
"jsdoc-fresh": "^1.0.1", | ||
"jsdoc-region-tag": "^1.0.2", | ||
"linkinator": "^1.5.0", | ||
"mocha": "^6.0.0", | ||
"nyc": "^14.0.0", | ||
"power-assert": "^1.4.4", | ||
"prettier": "^1.7.4", | ||
"linkinator": "^1.5.0" | ||
"prettier": "^1.7.4" | ||
} | ||
} |
@@ -24,3 +24,3 @@ { | ||
"ListAlertPolicies": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -30,3 +30,3 @@ "retry_params_name": "default" | ||
"GetAlertPolicy": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -36,3 +36,3 @@ "retry_params_name": "default" | ||
"CreateAlertPolicy": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -42,3 +42,3 @@ "retry_params_name": "default" | ||
"DeleteAlertPolicy": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -48,3 +48,3 @@ "retry_params_name": "default" | ||
"UpdateAlertPolicy": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -51,0 +51,0 @@ "retry_params_name": "default" |
@@ -227,3 +227,3 @@ // Copyright 2019 Google LLC | ||
* The filter is similar to the one that is specified in the | ||
* [`MetricService.ListTimeSeries` | ||
* [`ListTimeSeries` | ||
* request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that | ||
@@ -243,4 +243,3 @@ * call is useful to verify the time series that will be retrieved / | ||
* | ||
* This field is similar to the one in the | ||
* [`MetricService.ListTimeSeries` | ||
* This field is similar to the one in the [`ListTimeSeries` | ||
* request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It | ||
@@ -334,3 +333,3 @@ * is advisable to use the `ListTimeSeries` method when debugging this | ||
* The filter is similar to the one that is specified in the | ||
* [`MetricService.ListTimeSeries` | ||
* [`ListTimeSeries` | ||
* request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that | ||
@@ -350,4 +349,3 @@ * call is useful to verify the time series that will be retrieved / | ||
* | ||
* This field is similar to the | ||
* one in the [`MetricService.ListTimeSeries` | ||
* This field is similar to the one in the [`ListTimeSeries` | ||
* request](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It | ||
@@ -354,0 +352,0 @@ * is advisable to use the `ListTimeSeries` method when debugging this |
@@ -223,6 +223,8 @@ // Copyright 2019 Google LLC | ||
* @property {Object} aggregation | ||
* By default, the raw time series data is returned. | ||
* Use this field to combine multiple time series for different | ||
* views of the data. | ||
* Specifies the alignment of data points in individual time series as | ||
* well as how to combine the retrieved time series across specified labels. | ||
* | ||
* By default (if no `aggregation` is explicitly specified), the raw time | ||
* series data is returned. | ||
* | ||
* This object should have the same structure as [Aggregation]{@link google.monitoring.v3.Aggregation} | ||
@@ -232,3 +234,3 @@ * | ||
* Unsupported: must be left blank. The points in each time series are | ||
* returned in reverse time order. | ||
* currently returned in reverse time order (most recent to oldest). | ||
* | ||
@@ -235,0 +237,0 @@ * @property {number} view |
@@ -23,10 +23,10 @@ // Copyright 2019 Google LLC | ||
* The time interval to which the data point applies. For `GAUGE` metrics, | ||
* the start time is optional, but if it is supplied, it must equal the end | ||
* time. For `DELTA` metrics, the start and end time should specify a | ||
* non-zero interval, with subsequent points specifying contiguous and | ||
* non-overlapping intervals. For `CUMULATIVE` metrics, the start and end | ||
* time should specify a non-zero interval, with subsequent points specifying | ||
* the same start time and increasing end times, until an event resets the | ||
* cumulative value to zero and sets a new start time for the following | ||
* points. | ||
* the start time is optional, but if it is supplied, it must equal the | ||
* end time. For `DELTA` metrics, the start | ||
* and end time should specify a non-zero interval, with subsequent points | ||
* specifying contiguous and non-overlapping intervals. For `CUMULATIVE` | ||
* metrics, the start and end time should specify a non-zero interval, with | ||
* subsequent points specifying the same start time and increasing end times, | ||
* until an event resets the cumulative value to zero and sets a new start | ||
* time for the following points. | ||
* | ||
@@ -33,0 +33,0 @@ * This object should have the same structure as [TimeInterval]{@link google.monitoring.v3.TimeInterval} |
@@ -308,7 +308,11 @@ // Copyright 2019 Google LLC | ||
/** | ||
* Used to perform string matching. It allows substring and regular | ||
* expressions, together with their negations. | ||
* Optional. Used to perform content matching. This allows matching based on | ||
* substrings and regular expressions, together with their negations. Only the | ||
* first 4 MB of an HTTP or HTTPS check's response (and the first | ||
* 1 MB of a TCP check's response) are examined for purposes of content | ||
* matching. | ||
* | ||
* @property {string} content | ||
* String or regex content to match (max 1024 bytes) | ||
* String or regex content to match. Maximum 1024 bytes. An empty `content` | ||
* string indicates no content matching is to be performed. | ||
* | ||
@@ -344,4 +348,4 @@ * @property {number} matcher | ||
/** | ||
* Selects substring matching (there is a match if the output contains | ||
* the `content` string). This is the default value for checks without | ||
* Selects substring matching. The match succeeds if the output contains | ||
* the `content` string. This is the default value for checks without | ||
* a `matcher` option, or where the value of `matcher` is | ||
@@ -353,4 +357,4 @@ * `CONTENT_MATCHER_OPTION_UNSPECIFIED`. | ||
/** | ||
* Selects negation of substring matching (there is a match if the output | ||
* does NOT contain the `content` string). | ||
* Selects negation of substring matching. The match succeeds if the | ||
* output does _NOT_ contain the `content` string. | ||
*/ | ||
@@ -360,4 +364,4 @@ NOT_CONTAINS_STRING: 2, | ||
/** | ||
* Selects regular expression matching (there is a match of the output | ||
* matches the regular expression specified in the `content` string). | ||
* Selects regular-expression matching. The match succeeds of the output | ||
* matches the regular expression specified in the `content` string. | ||
*/ | ||
@@ -367,5 +371,5 @@ MATCHES_REGEX: 3, | ||
/** | ||
* Selects negation of regular expression matching (there is a match if | ||
* the output does NOT match the regular expression specified in the | ||
* `content` string). | ||
* Selects negation of regular-expression matching. The match succeeds if | ||
* the output does _NOT_ match the regular expression specified in the | ||
* `content` string. | ||
*/ | ||
@@ -372,0 +376,0 @@ NOT_MATCHES_REGEX: 4 |
@@ -24,3 +24,3 @@ { | ||
"ListGroups": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -30,3 +30,3 @@ "retry_params_name": "default" | ||
"GetGroup": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -36,3 +36,3 @@ "retry_params_name": "default" | ||
"CreateGroup": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -42,3 +42,3 @@ "retry_params_name": "default" | ||
"UpdateGroup": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -48,3 +48,3 @@ "retry_params_name": "default" | ||
"DeleteGroup": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -54,3 +54,3 @@ "retry_params_name": "default" | ||
"ListGroupMembers": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -57,0 +57,0 @@ "retry_params_name": "default" |
@@ -21,2 +21,3 @@ // Copyright 2019 Google LLC | ||
const NotificationChannelServiceClient = require('./notification_channel_service_client'); | ||
const ServiceMonitoringServiceClient = require('./service_monitoring_service_client'); | ||
const UptimeCheckServiceClient = require('./uptime_check_service_client'); | ||
@@ -28,2 +29,3 @@ | ||
module.exports.NotificationChannelServiceClient = NotificationChannelServiceClient; | ||
module.exports.ServiceMonitoringServiceClient = ServiceMonitoringServiceClient; | ||
module.exports.UptimeCheckServiceClient = UptimeCheckServiceClient; |
@@ -24,3 +24,3 @@ { | ||
"ListMonitoredResourceDescriptors": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -30,3 +30,3 @@ "retry_params_name": "default" | ||
"GetMonitoredResourceDescriptor": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -36,3 +36,3 @@ "retry_params_name": "default" | ||
"ListMetricDescriptors": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -42,3 +42,3 @@ "retry_params_name": "default" | ||
"GetMetricDescriptor": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -48,3 +48,3 @@ "retry_params_name": "default" | ||
"CreateMetricDescriptor": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -54,3 +54,3 @@ "retry_params_name": "default" | ||
"DeleteMetricDescriptor": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -60,3 +60,3 @@ "retry_params_name": "default" | ||
"ListTimeSeries": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -63,0 +63,0 @@ "retry_params_name": "default" |
@@ -888,10 +888,12 @@ // Copyright 2019 Google LLC | ||
* @param {Object} [request.aggregation] | ||
* By default, the raw time series data is returned. | ||
* Use this field to combine multiple time series for different | ||
* views of the data. | ||
* Specifies the alignment of data points in individual time series as | ||
* well as how to combine the retrieved time series across specified labels. | ||
* | ||
* By default (if no `aggregation` is explicitly specified), the raw time | ||
* series data is returned. | ||
* | ||
* This object should have the same structure as [Aggregation]{@link google.monitoring.v3.Aggregation} | ||
* @param {string} [request.orderBy] | ||
* Unsupported: must be left blank. The points in each time series are | ||
* returned in reverse time order. | ||
* currently returned in reverse time order (most recent to oldest). | ||
* @param {number} [request.pageSize] | ||
@@ -1047,10 +1049,12 @@ * The maximum number of resources contained in the underlying API | ||
* @param {Object} [request.aggregation] | ||
* By default, the raw time series data is returned. | ||
* Use this field to combine multiple time series for different | ||
* views of the data. | ||
* Specifies the alignment of data points in individual time series as | ||
* well as how to combine the retrieved time series across specified labels. | ||
* | ||
* By default (if no `aggregation` is explicitly specified), the raw time | ||
* series data is returned. | ||
* | ||
* This object should have the same structure as [Aggregation]{@link google.monitoring.v3.Aggregation} | ||
* @param {string} [request.orderBy] | ||
* Unsupported: must be left blank. The points in each time series are | ||
* returned in reverse time order. | ||
* currently returned in reverse time order (most recent to oldest). | ||
* @param {number} [request.pageSize] | ||
@@ -1057,0 +1061,0 @@ * The maximum number of resources contained in the underlying API |
@@ -24,3 +24,3 @@ { | ||
"ListNotificationChannelDescriptors": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -30,3 +30,3 @@ "retry_params_name": "default" | ||
"GetNotificationChannelDescriptor": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -36,3 +36,3 @@ "retry_params_name": "default" | ||
"ListNotificationChannels": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -42,3 +42,3 @@ "retry_params_name": "default" | ||
"GetNotificationChannel": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -48,3 +48,3 @@ "retry_params_name": "default" | ||
"CreateNotificationChannel": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -54,3 +54,3 @@ "retry_params_name": "default" | ||
"UpdateNotificationChannel": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -60,3 +60,3 @@ "retry_params_name": "default" | ||
"DeleteNotificationChannel": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -66,3 +66,3 @@ "retry_params_name": "default" | ||
"SendNotificationChannelVerificationCode": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "non_idempotent", | ||
@@ -72,3 +72,3 @@ "retry_params_name": "default" | ||
"GetNotificationChannelVerificationCode": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -78,3 +78,3 @@ "retry_params_name": "default" | ||
"VerifyNotificationChannel": { | ||
"timeout_millis": 30000, | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
@@ -81,0 +81,0 @@ "retry_params_name": "default" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4294489
70
72605