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

Deprecate alert config fields #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
20 changes: 10 additions & 10 deletions proto/alarm/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ message AlarmConfiguration{
string component = 6;

string os = 7;
string hosts = 8;
string plugin = 9;
string module = 10;
string charts = 11;
string hosts = 8 [deprecated=true];
string plugin = 9 [deprecated=true];
string module = 10 [deprecated=true];
string charts = 11 [deprecated=true];
string families = 12 [deprecated=true];
string lookup = 13;
string lookup = 13 [deprecated=true];
string every = 14;
string units = 15;

string green = 16;
string red = 17;
string green = 16 [deprecated=true];
string red = 17 [deprecated=true];

string calculation_expr = 18;
string warning_expr = 19;
string critical_expr = 20;

string recipient = 21;
string exec = 22;
string exec = 22 [deprecated=true];
string delay = 23;
string repeat = 24;
string info = 25;
string options = 26;
string host_labels = 27;
string options = 26 [deprecated=true];
string host_labels = 27 [deprecated=true];

//parsed values from above config values
//indicated by p_
Expand Down