Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for tolerance_factor #Jira:FLKR-3682 #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syntax = "proto3";

package com.coralogixapis.alerts.v3;


import "google/protobuf/wrappers.proto";

message AnomalyAlertSettings {
google.protobuf.FloatValue tolerance_factor = 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import "google/protobuf/wrappers.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/logs/common/logs_filter.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/logs/common/logs_timewindow.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/logs/anomaly/logs_anomaly_condition_type.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/common/anomaly_alert_settings.proto";

message LogsAnomalyType {
LogsFilter logs_filter = 1;
repeated LogsAnomalyRule rules = 2;
repeated google.protobuf.StringValue notification_payload_filter = 3;
AnomalyAlertSettings anomaly_alert_settings = 4;
}
message LogsAnomalyRule {
LogsAnomalyCondition condition = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import "google/protobuf/wrappers.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/metric/common/metric_timewindow.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/metric/common/metrics_filter.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/metric/anomaly/metric_anomaly_condition_type.proto";
import "com/coralogixapis/alerts/v3/alert_def_type_definition/common/anomaly_alert_settings.proto";

message MetricAnomalyType {
MetricFilter metric_filter = 1;
repeated MetricAnomalyRule rules = 2;
AnomalyAlertSettings anomaly_alert_settings = 3;
}
message MetricAnomalyRule {
MetricAnomalyCondition condition = 1;
Expand Down