Skip to content

Commit

Permalink
PMM-8588 Histogram. (#793)
Browse files Browse the repository at this point in the history
* PMM-8704 Gen.

* PMM-8704 Gen.

* PMM-8895 Gen.

* PMM-8895 Top query in details.

* PMM-8895 Changes.

* PMM-8895 Changes.

* PMM-8895 Changes.

* PMM-8895 Changes.

* PMM-8894 Query plan.

* PMM-8894 Add new endpoint.

* PMM-8894 More fields.

* PMM-8894 Changes.

* PMM-8894 Typo.

* PMM-8894 Wrong name of property.

* PMM-8895 Remove unnecessary field.

* PMM-8894 Gen.

* PMM-8894 List of query_plans to only one item.

* PMM-8894 Change request params.

* PMM-8588 Histogram API changes.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Changes in histogram request.

* PMM-8704 Gen.

* PMM-8588 Required changes.

* PMM-8588 Changes.

* PMM-8895 Gen.

* PMM-8894 Gen.

* PMM-8588 Gen.

* PMM-8894 Gen.

* PMM-8588 Gen.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Changes.

* PMM-8588 Gen.

* PMM-8588 Gen.

* PMM-8588 Gen.

* PMM-8588 Change to struct.

* Revert "PMM-8588 Change to struct."

This reverts commit 9933b63.

* Revert "Revert "PMM-8588 Change to struct.""

This reverts commit f5992e7.

* PMM-8588 Changes.
  • Loading branch information
JiriCtvrtka authored Nov 3, 2021
1 parent fdd067c commit 14c4ca5
Show file tree
Hide file tree
Showing 16 changed files with 1,597 additions and 227 deletions.
189 changes: 138 additions & 51 deletions api/agentpb/collector.pb.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions api/agentpb/collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,16 @@ message MetricsBucket {
string application_name = 45;
string planid = 46;
string query_plan = 48;
repeated HistogramItem histogram_items = 49;
}
Common common = 1;
MySQL mysql = 2;
MongoDB mongodb = 3;
PostgreSQL postgresql = 4;
}

// HistogramItem represents one item in histogram.
message HistogramItem {
string range = 1;
uint32 frequency = 2;
}
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.

64 changes: 37 additions & 27 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 @@ -374,6 +374,7 @@ message MetricsBucket {
string application_name = 248;
string planid = 249;
string query_plan = 251;
repeated string histogram_items = 252;
}

message CollectResponse {}
131 changes: 131 additions & 0 deletions api/qanpb/json/client/object_details/get_histogram_parameters.go

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

Loading

0 comments on commit 14c4ca5

Please sign in to comment.