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

PMM-9632 Settings view usage. #886

Closed
wants to merge 9 commits into from
Closed
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
263 changes: 204 additions & 59 deletions api/agentpb/collector.pb.go

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions api/agentpb/collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ message MetricsBucket {
string planid = 46;
string query_plan = 48;
repeated HistogramItem histogram_items = 49;
repeated SettingsItem settings_items = 50;
}
Common common = 1;
MySQL mysql = 2;
Expand All @@ -359,3 +360,16 @@ message HistogramItem {
string range = 1;
uint32 frequency = 2;
}

// SettingsItem represents one row in settings.
message SettingsItem {
string name = 1;
string value = 2;
string default_value = 3;
string description = 4;
int64 minimum = 5;
int64 maximum = 6;
string options = 7;
string restart = 8;
}

10 changes: 10 additions & 0 deletions api/agentpb/collector.validator.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 39 additions & 29 deletions api/qanpb/collector.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/qanpb/collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ message MetricsBucket {
string planid = 249;
string query_plan = 251;
repeated string histogram_items = 252;
repeated string settings_items = 253;
}

message CollectResponse {}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading