@hyperlane-xyz/cli 16.2.0 → 18.0.0

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.
Files changed (190) hide show
  1. package/cli-bundle/index.js +39174 -1835
  2. package/examples/submit/transactions/{alfajores-transactions.json → sepolia-transactions.json} +1 -1
  3. package/package.json +5 -5
  4. package/cli-bundle/798.index.js +0 -169715
  5. package/cli-bundle/proto/channelz.proto +0 -564
  6. package/cli-bundle/protos/compute_operations.d.ts +0 -7304
  7. package/cli-bundle/protos/compute_operations.js +0 -1
  8. package/cli-bundle/protos/compute_operations.json +0 -1
  9. package/cli-bundle/protos/google/api/annotations.proto +0 -31
  10. package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
  11. package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
  12. package/cli-bundle/protos/google/api/auth.proto +0 -237
  13. package/cli-bundle/protos/google/api/backend.proto +0 -185
  14. package/cli-bundle/protos/google/api/billing.proto +0 -77
  15. package/cli-bundle/protos/google/api/client.proto +0 -427
  16. package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  17. package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
  18. package/cli-bundle/protos/google/api/config_change.proto +0 -84
  19. package/cli-bundle/protos/google/api/consumer.proto +0 -82
  20. package/cli-bundle/protos/google/api/context.proto +0 -90
  21. package/cli-bundle/protos/google/api/control.proto +0 -41
  22. package/cli-bundle/protos/google/api/distribution.proto +0 -213
  23. package/cli-bundle/protos/google/api/documentation.proto +0 -168
  24. package/cli-bundle/protos/google/api/endpoint.proto +0 -73
  25. package/cli-bundle/protos/google/api/error_reason.proto +0 -589
  26. package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  27. package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
  28. package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
  29. package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
  30. package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
  31. package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
  32. package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
  33. package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
  34. package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
  35. package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
  36. package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
  37. package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
  38. package/cli-bundle/protos/google/api/field_info.proto +0 -79
  39. package/cli-bundle/protos/google/api/http.proto +0 -379
  40. package/cli-bundle/protos/google/api/httpbody.proto +0 -81
  41. package/cli-bundle/protos/google/api/label.proto +0 -48
  42. package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
  43. package/cli-bundle/protos/google/api/log.proto +0 -54
  44. package/cli-bundle/protos/google/api/logging.proto +0 -81
  45. package/cli-bundle/protos/google/api/metric.proto +0 -268
  46. package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
  47. package/cli-bundle/protos/google/api/monitoring.proto +0 -107
  48. package/cli-bundle/protos/google/api/policy.proto +0 -85
  49. package/cli-bundle/protos/google/api/quota.proto +0 -184
  50. package/cli-bundle/protos/google/api/resource.proto +0 -238
  51. package/cli-bundle/protos/google/api/routing.proto +0 -461
  52. package/cli-bundle/protos/google/api/service.proto +0 -191
  53. package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
  54. package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
  55. package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
  56. package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
  57. package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
  58. package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
  59. package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  60. package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
  61. package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
  62. package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
  63. package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  64. package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
  65. package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
  66. package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
  67. package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  68. package/cli-bundle/protos/google/api/source_info.proto +0 -31
  69. package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
  70. package/cli-bundle/protos/google/api/usage.proto +0 -96
  71. package/cli-bundle/protos/google/api/visibility.proto +0 -113
  72. package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
  73. package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
  74. package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
  75. package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
  76. package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
  77. package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
  78. package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
  79. package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
  80. package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
  81. package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
  82. package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
  83. package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
  84. package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
  85. package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
  86. package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
  87. package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
  88. package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
  89. package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
  90. package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
  91. package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
  92. package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
  93. package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
  94. package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
  95. package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
  96. package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
  97. package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
  98. package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
  99. package/cli-bundle/protos/google/protobuf/any.proto +0 -162
  100. package/cli-bundle/protos/google/protobuf/api.proto +0 -207
  101. package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
  102. package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
  103. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
  104. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
  105. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
  106. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
  107. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
  108. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
  109. package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
  110. package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
  111. package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
  112. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
  113. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
  114. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
  115. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
  116. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
  117. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
  118. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
  119. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
  120. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
  121. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
  122. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
  123. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
  124. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
  125. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
  126. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
  127. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
  128. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
  129. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
  130. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
  131. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
  132. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
  133. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
  134. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
  135. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
  136. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
  137. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
  138. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
  139. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
  140. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
  141. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
  142. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
  143. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
  144. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
  145. package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
  146. package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
  147. package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
  148. package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
  149. package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
  150. package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
  151. package/cli-bundle/protos/google/protobuf/type.proto +0 -193
  152. package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
  153. package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
  154. package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
  155. package/cli-bundle/protos/google/rpc/code.proto +0 -186
  156. package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
  157. package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
  158. package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
  159. package/cli-bundle/protos/google/rpc/http.proto +0 -64
  160. package/cli-bundle/protos/google/rpc/status.proto +0 -49
  161. package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
  162. package/cli-bundle/protos/google/type/color.proto +0 -174
  163. package/cli-bundle/protos/google/type/date.proto +0 -52
  164. package/cli-bundle/protos/google/type/datetime.proto +0 -104
  165. package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
  166. package/cli-bundle/protos/google/type/decimal.proto +0 -95
  167. package/cli-bundle/protos/google/type/expr.proto +0 -73
  168. package/cli-bundle/protos/google/type/fraction.proto +0 -33
  169. package/cli-bundle/protos/google/type/interval.proto +0 -46
  170. package/cli-bundle/protos/google/type/latlng.proto +0 -37
  171. package/cli-bundle/protos/google/type/localized_text.proto +0 -36
  172. package/cli-bundle/protos/google/type/money.proto +0 -42
  173. package/cli-bundle/protos/google/type/month.proto +0 -65
  174. package/cli-bundle/protos/google/type/phone_number.proto +0 -113
  175. package/cli-bundle/protos/google/type/postal_address.proto +0 -134
  176. package/cli-bundle/protos/google/type/quaternion.proto +0 -94
  177. package/cli-bundle/protos/google/type/timeofday.proto +0 -44
  178. package/cli-bundle/protos/http.d.ts +0 -347
  179. package/cli-bundle/protos/http.js +0 -1
  180. package/cli-bundle/protos/iam_service.d.ts +0 -5035
  181. package/cli-bundle/protos/iam_service.js +0 -1
  182. package/cli-bundle/protos/iam_service.json +0 -1
  183. package/cli-bundle/protos/locations.d.ts +0 -4060
  184. package/cli-bundle/protos/locations.js +0 -1
  185. package/cli-bundle/protos/locations.json +0 -1
  186. package/cli-bundle/protos/operations.d.ts +0 -4783
  187. package/cli-bundle/protos/operations.js +0 -1
  188. package/cli-bundle/protos/operations.json +0 -1
  189. package/cli-bundle/protos/status.json +0 -1
  190. package/cli-bundle/worker2.js +0 -174
@@ -1,488 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.monitoring.v3;
18
-
19
- import "google/api/distribution.proto";
20
- import "google/protobuf/duration.proto";
21
- import "google/protobuf/timestamp.proto";
22
-
23
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
24
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
25
- option java_multiple_files = true;
26
- option java_outer_classname = "CommonProto";
27
- option java_package = "com.google.monitoring.v3";
28
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
29
- option ruby_package = "Google::Cloud::Monitoring::V3";
30
-
31
- // A single strongly-typed value.
32
- message TypedValue {
33
- // The typed value field.
34
- oneof value {
35
- // A Boolean value: `true` or `false`.
36
- bool bool_value = 1;
37
-
38
- // A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
39
- int64 int64_value = 2;
40
-
41
- // A 64-bit double-precision floating-point number. Its magnitude
42
- // is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
43
- // significant digits of precision.
44
- double double_value = 3;
45
-
46
- // A variable-length string value.
47
- string string_value = 4;
48
-
49
- // A distribution value.
50
- google.api.Distribution distribution_value = 5;
51
- }
52
- }
53
-
54
- // A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
55
- //
56
- // * For `GAUGE` metrics, the `startTime` value is technically optional; if
57
- // no value is specified, the start time defaults to the value of the
58
- // end time, and the interval represents a single point in time. If both
59
- // start and end times are specified, they must be identical. Such an
60
- // interval is valid only for `GAUGE` metrics, which are point-in-time
61
- // measurements. The end time of a new interval must be at least a
62
- // millisecond after the end time of the previous interval.
63
- //
64
- // * For `DELTA` metrics, the start time and end time must specify a
65
- // non-zero interval, with subsequent points specifying contiguous and
66
- // non-overlapping intervals. For `DELTA` metrics, the start time of
67
- // the next interval must be at least a millisecond after the end time
68
- // of the previous interval.
69
- //
70
- // * For `CUMULATIVE` metrics, the start time and end time must specify a
71
- // non-zero interval, with subsequent points specifying the same
72
- // start time and increasing end times, until an event resets the
73
- // cumulative value to zero and sets a new start time for the following
74
- // points. The new start time must be at least a millisecond after the
75
- // end time of the previous interval.
76
- //
77
- // * The start time of a new interval must be at least a millisecond after the
78
- // end time of the previous interval because intervals are closed. If the
79
- // start time of a new interval is the same as the end time of the previous
80
- // interval, then data written at the new start time could overwrite data
81
- // written at the previous end time.
82
- message TimeInterval {
83
- // Required. The end of the time interval.
84
- google.protobuf.Timestamp end_time = 2;
85
-
86
- // Optional. The beginning of the time interval. The default value
87
- // for the start time is the end time. The start time must not be
88
- // later than the end time.
89
- google.protobuf.Timestamp start_time = 1;
90
- }
91
-
92
- // Describes how to combine multiple time series to provide a different view of
93
- // the data. Aggregation of time series is done in two steps. First, each time
94
- // series in the set is _aligned_ to the same time interval boundaries, then the
95
- // set of time series is optionally _reduced_ in number.
96
- //
97
- // Alignment consists of applying the `per_series_aligner` operation
98
- // to each time series after its data has been divided into regular
99
- // `alignment_period` time intervals. This process takes _all_ of the data
100
- // points in an alignment period, applies a mathematical transformation such as
101
- // averaging, minimum, maximum, delta, etc., and converts them into a single
102
- // data point per period.
103
- //
104
- // Reduction is when the aligned and transformed time series can optionally be
105
- // combined, reducing the number of time series through similar mathematical
106
- // transformations. Reduction involves applying a `cross_series_reducer` to
107
- // all the time series, optionally sorting the time series into subsets with
108
- // `group_by_fields`, and applying the reducer to each subset.
109
- //
110
- // The raw time series data can contain a huge amount of information from
111
- // multiple sources. Alignment and reduction transforms this mass of data into
112
- // a more manageable and representative collection of data, for example "the
113
- // 95% latency across the average of all tasks in a cluster". This
114
- // representative data can be more easily graphed and comprehended, and the
115
- // individual time series data is still available for later drilldown. For more
116
- // details, see [Filtering and
117
- // aggregation](https://cloud.google.com/monitoring/api/v3/aggregation).
118
- message Aggregation {
119
- // The `Aligner` specifies the operation that will be applied to the data
120
- // points in each alignment period in a time series. Except for
121
- // `ALIGN_NONE`, which specifies that no operation be applied, each alignment
122
- // operation replaces the set of data values in each alignment period with
123
- // a single value: the result of applying the operation to the data values.
124
- // An aligned time series has a single data value at the end of each
125
- // `alignment_period`.
126
- //
127
- // An alignment operation can change the data type of the values, too. For
128
- // example, if you apply a counting operation to boolean values, the data
129
- // `value_type` in the original time series is `BOOLEAN`, but the `value_type`
130
- // in the aligned result is `INT64`.
131
- enum Aligner {
132
- // No alignment. Raw data is returned. Not valid if cross-series reduction
133
- // is requested. The `value_type` of the result is the same as the
134
- // `value_type` of the input.
135
- ALIGN_NONE = 0;
136
-
137
- // Align and convert to
138
- // [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
139
- // The output is `delta = y1 - y0`.
140
- //
141
- // This alignment is valid for
142
- // [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and
143
- // `DELTA` metrics. If the selected alignment period results in periods
144
- // with no data, then the aligned value for such a period is created by
145
- // interpolation. The `value_type` of the aligned result is the same as
146
- // the `value_type` of the input.
147
- ALIGN_DELTA = 1;
148
-
149
- // Align and convert to a rate. The result is computed as
150
- // `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
151
- // Think of this aligner as providing the slope of the line that passes
152
- // through the value at the start and at the end of the `alignment_period`.
153
- //
154
- // This aligner is valid for `CUMULATIVE`
155
- // and `DELTA` metrics with numeric values. If the selected alignment
156
- // period results in periods with no data, then the aligned value for
157
- // such a period is created by interpolation. The output is a `GAUGE`
158
- // metric with `value_type` `DOUBLE`.
159
- //
160
- // If, by "rate", you mean "percentage change", see the
161
- // `ALIGN_PERCENT_CHANGE` aligner instead.
162
- ALIGN_RATE = 2;
163
-
164
- // Align by interpolating between adjacent points around the alignment
165
- // period boundary. This aligner is valid for `GAUGE` metrics with
166
- // numeric values. The `value_type` of the aligned result is the same as the
167
- // `value_type` of the input.
168
- ALIGN_INTERPOLATE = 3;
169
-
170
- // Align by moving the most recent data point before the end of the
171
- // alignment period to the boundary at the end of the alignment
172
- // period. This aligner is valid for `GAUGE` metrics. The `value_type` of
173
- // the aligned result is the same as the `value_type` of the input.
174
- ALIGN_NEXT_OLDER = 4;
175
-
176
- // Align the time series by returning the minimum value in each alignment
177
- // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
178
- // numeric values. The `value_type` of the aligned result is the same as
179
- // the `value_type` of the input.
180
- ALIGN_MIN = 10;
181
-
182
- // Align the time series by returning the maximum value in each alignment
183
- // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
184
- // numeric values. The `value_type` of the aligned result is the same as
185
- // the `value_type` of the input.
186
- ALIGN_MAX = 11;
187
-
188
- // Align the time series by returning the mean value in each alignment
189
- // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
190
- // numeric values. The `value_type` of the aligned result is `DOUBLE`.
191
- ALIGN_MEAN = 12;
192
-
193
- // Align the time series by returning the number of values in each alignment
194
- // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
195
- // numeric or Boolean values. The `value_type` of the aligned result is
196
- // `INT64`.
197
- ALIGN_COUNT = 13;
198
-
199
- // Align the time series by returning the sum of the values in each
200
- // alignment period. This aligner is valid for `GAUGE` and `DELTA`
201
- // metrics with numeric and distribution values. The `value_type` of the
202
- // aligned result is the same as the `value_type` of the input.
203
- ALIGN_SUM = 14;
204
-
205
- // Align the time series by returning the standard deviation of the values
206
- // in each alignment period. This aligner is valid for `GAUGE` and
207
- // `DELTA` metrics with numeric values. The `value_type` of the output is
208
- // `DOUBLE`.
209
- ALIGN_STDDEV = 15;
210
-
211
- // Align the time series by returning the number of `True` values in
212
- // each alignment period. This aligner is valid for `GAUGE` metrics with
213
- // Boolean values. The `value_type` of the output is `INT64`.
214
- ALIGN_COUNT_TRUE = 16;
215
-
216
- // Align the time series by returning the number of `False` values in
217
- // each alignment period. This aligner is valid for `GAUGE` metrics with
218
- // Boolean values. The `value_type` of the output is `INT64`.
219
- ALIGN_COUNT_FALSE = 24;
220
-
221
- // Align the time series by returning the ratio of the number of `True`
222
- // values to the total number of values in each alignment period. This
223
- // aligner is valid for `GAUGE` metrics with Boolean values. The output
224
- // value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
225
- ALIGN_FRACTION_TRUE = 17;
226
-
227
- // Align the time series by using [percentile
228
- // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
229
- // data point in each alignment period is the 99th percentile of all data
230
- // points in the period. This aligner is valid for `GAUGE` and `DELTA`
231
- // metrics with distribution values. The output is a `GAUGE` metric with
232
- // `value_type` `DOUBLE`.
233
- ALIGN_PERCENTILE_99 = 18;
234
-
235
- // Align the time series by using [percentile
236
- // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
237
- // data point in each alignment period is the 95th percentile of all data
238
- // points in the period. This aligner is valid for `GAUGE` and `DELTA`
239
- // metrics with distribution values. The output is a `GAUGE` metric with
240
- // `value_type` `DOUBLE`.
241
- ALIGN_PERCENTILE_95 = 19;
242
-
243
- // Align the time series by using [percentile
244
- // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
245
- // data point in each alignment period is the 50th percentile of all data
246
- // points in the period. This aligner is valid for `GAUGE` and `DELTA`
247
- // metrics with distribution values. The output is a `GAUGE` metric with
248
- // `value_type` `DOUBLE`.
249
- ALIGN_PERCENTILE_50 = 20;
250
-
251
- // Align the time series by using [percentile
252
- // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
253
- // data point in each alignment period is the 5th percentile of all data
254
- // points in the period. This aligner is valid for `GAUGE` and `DELTA`
255
- // metrics with distribution values. The output is a `GAUGE` metric with
256
- // `value_type` `DOUBLE`.
257
- ALIGN_PERCENTILE_05 = 21;
258
-
259
- // Align and convert to a percentage change. This aligner is valid for
260
- // `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
261
- // `((current - previous)/previous) * 100`, where the value of `previous` is
262
- // determined based on the `alignment_period`.
263
- //
264
- // If the values of `current` and `previous` are both 0, then the returned
265
- // value is 0. If only `previous` is 0, the returned value is infinity.
266
- //
267
- // A 10-minute moving mean is computed at each point of the alignment period
268
- // prior to the above calculation to smooth the metric and prevent false
269
- // positives from very short-lived spikes. The moving mean is only
270
- // applicable for data whose values are `>= 0`. Any values `< 0` are
271
- // treated as a missing datapoint, and are ignored. While `DELTA`
272
- // metrics are accepted by this alignment, special care should be taken that
273
- // the values for the metric will always be positive. The output is a
274
- // `GAUGE` metric with `value_type` `DOUBLE`.
275
- ALIGN_PERCENT_CHANGE = 23;
276
- }
277
-
278
- // A Reducer operation describes how to aggregate data points from multiple
279
- // time series into a single time series, where the value of each data point
280
- // in the resulting series is a function of all the already aligned values in
281
- // the input time series.
282
- enum Reducer {
283
- // No cross-time series reduction. The output of the `Aligner` is
284
- // returned.
285
- REDUCE_NONE = 0;
286
-
287
- // Reduce by computing the mean value across time series for each
288
- // alignment period. This reducer is valid for
289
- // [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and
290
- // [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with
291
- // numeric or distribution values. The `value_type` of the output is
292
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
293
- REDUCE_MEAN = 1;
294
-
295
- // Reduce by computing the minimum value across time series for each
296
- // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
297
- // with numeric values. The `value_type` of the output is the same as the
298
- // `value_type` of the input.
299
- REDUCE_MIN = 2;
300
-
301
- // Reduce by computing the maximum value across time series for each
302
- // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
303
- // with numeric values. The `value_type` of the output is the same as the
304
- // `value_type` of the input.
305
- REDUCE_MAX = 3;
306
-
307
- // Reduce by computing the sum across time series for each
308
- // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
309
- // with numeric and distribution values. The `value_type` of the output is
310
- // the same as the `value_type` of the input.
311
- REDUCE_SUM = 4;
312
-
313
- // Reduce by computing the standard deviation across time series
314
- // for each alignment period. This reducer is valid for `DELTA` and
315
- // `GAUGE` metrics with numeric or distribution values. The `value_type`
316
- // of the output is `DOUBLE`.
317
- REDUCE_STDDEV = 5;
318
-
319
- // Reduce by computing the number of data points across time series
320
- // for each alignment period. This reducer is valid for `DELTA` and
321
- // `GAUGE` metrics of numeric, Boolean, distribution, and string
322
- // `value_type`. The `value_type` of the output is `INT64`.
323
- REDUCE_COUNT = 6;
324
-
325
- // Reduce by computing the number of `True`-valued data points across time
326
- // series for each alignment period. This reducer is valid for `DELTA` and
327
- // `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
328
- // is `INT64`.
329
- REDUCE_COUNT_TRUE = 7;
330
-
331
- // Reduce by computing the number of `False`-valued data points across time
332
- // series for each alignment period. This reducer is valid for `DELTA` and
333
- // `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
334
- // is `INT64`.
335
- REDUCE_COUNT_FALSE = 15;
336
-
337
- // Reduce by computing the ratio of the number of `True`-valued data points
338
- // to the total number of data points for each alignment period. This
339
- // reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`.
340
- // The output value is in the range [0.0, 1.0] and has `value_type`
341
- // `DOUBLE`.
342
- REDUCE_FRACTION_TRUE = 8;
343
-
344
- // Reduce by computing the [99th
345
- // percentile](https://en.wikipedia.org/wiki/Percentile) of data points
346
- // across time series for each alignment period. This reducer is valid for
347
- // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
348
- // of the output is `DOUBLE`.
349
- REDUCE_PERCENTILE_99 = 9;
350
-
351
- // Reduce by computing the [95th
352
- // percentile](https://en.wikipedia.org/wiki/Percentile) of data points
353
- // across time series for each alignment period. This reducer is valid for
354
- // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
355
- // of the output is `DOUBLE`.
356
- REDUCE_PERCENTILE_95 = 10;
357
-
358
- // Reduce by computing the [50th
359
- // percentile](https://en.wikipedia.org/wiki/Percentile) of data points
360
- // across time series for each alignment period. This reducer is valid for
361
- // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
362
- // of the output is `DOUBLE`.
363
- REDUCE_PERCENTILE_50 = 11;
364
-
365
- // Reduce by computing the [5th
366
- // percentile](https://en.wikipedia.org/wiki/Percentile) of data points
367
- // across time series for each alignment period. This reducer is valid for
368
- // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
369
- // of the output is `DOUBLE`.
370
- REDUCE_PERCENTILE_05 = 12;
371
- }
372
-
373
- // The `alignment_period` specifies a time interval, in seconds, that is used
374
- // to divide the data in all the
375
- // [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
376
- // time. This will be done before the per-series aligner can be applied to
377
- // the data.
378
- //
379
- // The value must be at least 60 seconds. If a per-series
380
- // aligner other than `ALIGN_NONE` is specified, this field is required or an
381
- // error is returned. If no per-series aligner is specified, or the aligner
382
- // `ALIGN_NONE` is specified, then this field is ignored.
383
- //
384
- // The maximum value of the `alignment_period` is 104 weeks (2 years) for
385
- // charts, and 90,000 seconds (25 hours) for alerting policies.
386
- google.protobuf.Duration alignment_period = 1;
387
-
388
- // An `Aligner` describes how to bring the data points in a single
389
- // time series into temporal alignment. Except for `ALIGN_NONE`, all
390
- // alignments cause all the data points in an `alignment_period` to be
391
- // mathematically grouped together, resulting in a single data point for
392
- // each `alignment_period` with end timestamp at the end of the period.
393
- //
394
- // Not all alignment operations may be applied to all time series. The valid
395
- // choices depend on the `metric_kind` and `value_type` of the original time
396
- // series. Alignment can change the `metric_kind` or the `value_type` of
397
- // the time series.
398
- //
399
- // Time series data must be aligned in order to perform cross-time
400
- // series reduction. If `cross_series_reducer` is specified, then
401
- // `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
402
- // and `alignment_period` must be specified; otherwise, an error is
403
- // returned.
404
- Aligner per_series_aligner = 2;
405
-
406
- // The reduction operation to be used to combine time series into a single
407
- // time series, where the value of each data point in the resulting series is
408
- // a function of all the already aligned values in the input time series.
409
- //
410
- // Not all reducer operations can be applied to all time series. The valid
411
- // choices depend on the `metric_kind` and the `value_type` of the original
412
- // time series. Reduction can yield a time series with a different
413
- // `metric_kind` or `value_type` than the input time series.
414
- //
415
- // Time series data must first be aligned (see `per_series_aligner`) in order
416
- // to perform cross-time series reduction. If `cross_series_reducer` is
417
- // specified, then `per_series_aligner` must be specified, and must not be
418
- // `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
419
- // error is returned.
420
- Reducer cross_series_reducer = 4;
421
-
422
- // The set of fields to preserve when `cross_series_reducer` is
423
- // specified. The `group_by_fields` determine how the time series are
424
- // partitioned into subsets prior to applying the aggregation
425
- // operation. Each subset contains time series that have the same
426
- // value for each of the grouping fields. Each individual time
427
- // series is a member of exactly one subset. The
428
- // `cross_series_reducer` is applied to each subset of time series.
429
- // It is not possible to reduce across different resource types, so
430
- // this field implicitly contains `resource.type`. Fields not
431
- // specified in `group_by_fields` are aggregated away. If
432
- // `group_by_fields` is not specified and all the time series have
433
- // the same resource type, then the time series are aggregated into
434
- // a single output time series. If `cross_series_reducer` is not
435
- // defined, this field is ignored.
436
- repeated string group_by_fields = 5;
437
- }
438
-
439
- // Specifies an ordering relationship on two arguments, called `left` and
440
- // `right`.
441
- enum ComparisonType {
442
- // No ordering relationship is specified.
443
- COMPARISON_UNSPECIFIED = 0;
444
-
445
- // True if the left argument is greater than the right argument.
446
- COMPARISON_GT = 1;
447
-
448
- // True if the left argument is greater than or equal to the right argument.
449
- COMPARISON_GE = 2;
450
-
451
- // True if the left argument is less than the right argument.
452
- COMPARISON_LT = 3;
453
-
454
- // True if the left argument is less than or equal to the right argument.
455
- COMPARISON_LE = 4;
456
-
457
- // True if the left argument is equal to the right argument.
458
- COMPARISON_EQ = 5;
459
-
460
- // True if the left argument is not equal to the right argument.
461
- COMPARISON_NE = 6;
462
- }
463
-
464
- // The tier of service for a Workspace. Please see the
465
- // [service tiers
466
- // documentation](https://cloud.google.com/monitoring/workspaces/tiers) for more
467
- // details.
468
- enum ServiceTier {
469
- option deprecated = true;
470
-
471
- // An invalid sentinel value, used to indicate that a tier has not
472
- // been provided explicitly.
473
- SERVICE_TIER_UNSPECIFIED = 0;
474
-
475
- // The Stackdriver Basic tier, a free tier of service that provides basic
476
- // features, a moderate allotment of logs, and access to built-in metrics.
477
- // A number of features are not available in this tier. For more details,
478
- // see [the service tiers
479
- // documentation](https://cloud.google.com/monitoring/workspaces/tiers).
480
- SERVICE_TIER_BASIC = 1;
481
-
482
- // The Stackdriver Premium tier, a higher, more expensive tier of service
483
- // that provides access to all Stackdriver features, lets you use Stackdriver
484
- // with AWS accounts, and has a larger allotments for logs and metrics. For
485
- // more details, see [the service tiers
486
- // documentation](https://cloud.google.com/monitoring/workspaces/tiers).
487
- SERVICE_TIER_PREMIUM = 2;
488
- }
@@ -1,46 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.monitoring.v3;
18
-
19
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
20
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "DroppedLabelsProto";
23
- option java_package = "com.google.monitoring.v3";
24
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
25
- option ruby_package = "Google::Cloud::Monitoring::V3";
26
-
27
- // A set of (label, value) pairs that were removed from a Distribution
28
- // time series during aggregation and then added as an attachment to a
29
- // Distribution.Exemplar.
30
- //
31
- // The full label set for the exemplars is constructed by using the dropped
32
- // pairs in combination with the label values that remain on the aggregated
33
- // Distribution time series. The constructed full label set can be used to
34
- // identify the specific entity, such as the instance or job, which might be
35
- // contributing to a long-tail. However, with dropped labels, the storage
36
- // requirements are reduced because only the aggregated distribution values for
37
- // a large group of time series are stored.
38
- //
39
- // Note that there are no guarantees on ordering of the labels from
40
- // exemplar-to-exemplar and from distribution-to-distribution in the same
41
- // stream, and there may be duplicates. It is up to clients to resolve any
42
- // ambiguities.
43
- message DroppedLabels {
44
- // Map from label to its value, for all labels dropped in any aggregation.
45
- map<string, string> label = 1;
46
- }
@@ -1,90 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.monitoring.v3;
18
-
19
- import "google/api/resource.proto";
20
-
21
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
22
- option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb";
23
- option java_multiple_files = true;
24
- option java_outer_classname = "GroupProto";
25
- option java_package = "com.google.monitoring.v3";
26
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
27
- option ruby_package = "Google::Cloud::Monitoring::V3";
28
-
29
- // The description of a dynamic collection of monitored resources. Each group
30
- // has a filter that is matched against monitored resources and their associated
31
- // metadata. If a group's filter matches an available monitored resource, then
32
- // that resource is a member of that group. Groups can contain any number of
33
- // monitored resources, and each monitored resource can be a member of any
34
- // number of groups.
35
- //
36
- // Groups can be nested in parent-child hierarchies. The `parentName` field
37
- // identifies an optional parent for each group. If a group has a parent, then
38
- // the only monitored resources available to be matched by the group's filter
39
- // are the resources contained in the parent group. In other words, a group
40
- // contains the monitored resources that match its filter and the filters of all
41
- // the group's ancestors. A group without a parent can contain any monitored
42
- // resource.
43
- //
44
- // For example, consider an infrastructure running a set of instances with two
45
- // user-defined tags: `"environment"` and `"role"`. A parent group has a filter,
46
- // `environment="production"`. A child of that parent group has a filter,
47
- // `role="transcoder"`. The parent group contains all instances in the
48
- // production environment, regardless of their roles. The child group contains
49
- // instances that have the transcoder role *and* are in the production
50
- // environment.
51
- //
52
- // The monitored resources contained in a group can change at any moment,
53
- // depending on what resources exist and what filters are associated with the
54
- // group and its ancestors.
55
- message Group {
56
- option (google.api.resource) = {
57
- type: "monitoring.googleapis.com/Group"
58
- pattern: "projects/{project}/groups/{group}"
59
- pattern: "organizations/{organization}/groups/{group}"
60
- pattern: "folders/{folder}/groups/{group}"
61
- pattern: "*"
62
- };
63
-
64
- // Output only. The name of this group. The format is:
65
- //
66
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
67
- //
68
- // When creating a group, this field is ignored and a new name is created
69
- // consisting of the project specified in the call to `CreateGroup`
70
- // and a unique `[GROUP_ID]` that is generated automatically.
71
- string name = 1;
72
-
73
- // A user-assigned name for this group, used only for display purposes.
74
- string display_name = 2;
75
-
76
- // The name of the group's parent, if it has one. The format is:
77
- //
78
- // projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
79
- //
80
- // For groups with no parent, `parent_name` is the empty string, `""`.
81
- string parent_name = 3;
82
-
83
- // The filter used to determine which monitored resources belong to this
84
- // group.
85
- string filter = 5;
86
-
87
- // If true, the members of this group are considered to be a cluster.
88
- // The system can perform additional analysis on groups that are clusters.
89
- bool is_cluster = 6;
90
- }