Skip to content

Commit

Permalink
PMM-5099 Add fingerprint to metrics response. (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
percona-csalguero authored Mar 6, 2020
1 parent 2fd5efe commit b43e75a
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 65 deletions.
3 changes: 3 additions & 0 deletions api/qanpb/json/client/object_details/get_metrics_responses.go

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

4 changes: 4 additions & 0 deletions api/qanpb/json/qanpb.json
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,10 @@
"description": "MetricsReply defines metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.",
"type": "object",
"properties": {
"fingerprint": {
"type": "string",
"x-order": 3
},
"metrics": {
"type": "object",
"additionalProperties": {
Expand Down
139 changes: 74 additions & 65 deletions api/qanpb/object_details.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/object_details.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ message MetricsReply {
map<string, MetricValues> metrics = 3;
repeated Point sparkline = 4;
map<string, MetricValues> totals = 5;
string fingerprint = 6;
}

// MetricValues is statistics of specific metric.
Expand Down

0 comments on commit b43e75a

Please sign in to comment.