@hiiretail/gcp-infra-cli 0.96.0 → 0.96.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -132,6 +132,7 @@ module.exports = class extends BaseGenerator {
|
|
|
132
132
|
end() {
|
|
133
133
|
this.log(`
|
|
134
134
|
${chalk.green('Your Cloud Storage resources have now been created.')}
|
|
135
|
+
${chalk.yellow('Note: Bucket names are globally unique, the staging bucket has the suffix -staging')}
|
|
135
136
|
${chalk.green('1.')} Push this change in a feature branch and open a pull request.`);
|
|
136
137
|
}
|
|
137
138
|
};
|
|
@@ -469,13 +469,13 @@ cloud_run:
|
|
|
469
469
|
condition_threshold:
|
|
470
470
|
filter: |
|
|
471
471
|
resource.type="cloud_run_revision"
|
|
472
|
-
metric.type="run.googleapis.com/container/cpu/
|
|
472
|
+
metric.type="run.googleapis.com/container/cpu/utilizations"
|
|
473
473
|
resource.labels.project_id="<%-projectId%>"
|
|
474
474
|
threshold_value: 0.8
|
|
475
475
|
duration: 300s
|
|
476
476
|
aggregations:
|
|
477
477
|
- alignment_period: 60s
|
|
478
|
-
per_series_aligner:
|
|
478
|
+
per_series_aligner: ALIGN_PERCENTILE_99
|
|
479
479
|
group_by_fields:
|
|
480
480
|
- resource.label.service_name
|
|
481
481
|
documentation:
|
|
@@ -487,13 +487,13 @@ cloud_run:
|
|
|
487
487
|
condition_threshold:
|
|
488
488
|
filter: |
|
|
489
489
|
resource.type="cloud_run_revision"
|
|
490
|
-
metric.type="run.googleapis.com/container/memory/
|
|
490
|
+
metric.type="run.googleapis.com/container/memory/utilizations"
|
|
491
491
|
resource.labels.project_id="<%-projectId%>"
|
|
492
492
|
threshold_value: 0.8
|
|
493
493
|
duration: 300s
|
|
494
494
|
aggregations:
|
|
495
495
|
- alignment_period: 60s
|
|
496
|
-
per_series_aligner:
|
|
496
|
+
per_series_aligner: ALIGN_PERCENTILE_99
|
|
497
497
|
group_by_fields:
|
|
498
498
|
- resource.label.service_name
|
|
499
499
|
documentation:
|