You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/model_stream_processor_metric_threshold.go
+20-12
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ package admin
5
5
// StreamProcessorMetricThreshold Threshold for the metric that, when exceeded, triggers an alert. The metric threshold pertains to event types which reflects changes of measurements and metrics in stream processors.
6
6
typeStreamProcessorMetricThresholdstruct {
7
7
// Human-readable label that identifies the metric against which MongoDB Cloud checks the configured **metricThreshold.threshold**.
8
-
MetricNamestring`json:"metricName"`
8
+
MetricName*string`json:"metricName,omitempty"`
9
9
// MongoDB Cloud computes the current metric value as an average.
10
10
Mode*string`json:"mode,omitempty"`
11
11
// Comparison operator to apply when checking the current metric value.
@@ -20,9 +20,8 @@ type StreamProcessorMetricThreshold struct {
20
20
// This constructor will assign default values to properties that have it defined,
21
21
// and makes sure properties required by API are set, but the set of arguments
22
22
// will change when the set of required properties is changed
0 commit comments