GetMetricStatistics API returns many zero SampleCounts for sparse metrics
Bug #1077042 reported by
Eoghan Glynn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Synaps |
In Progress
|
Undecided
|
Eoghan Glynn |
Bug Description
For sparse metrics (i.e. where there exist only relatively few actual datapoints), the responses to calls on the GetMetricStatistics API seeking the SampleCount statistic are polluted with many trivial datapoints for the periods in which there were no metrics reported.
This is unnecessary and bloats the response with meaningless data that could be inferred.
Note that this only occurs for the SampleCount statistic, i.e. a zero Sum is not reported for periods in which no actual datapoints exist.
The null sample counts should be excised from the GetMetricStatistics response.
Changed in synaps: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
status: | New → In Progress |
To post a comment you must log in.
Pull request for fix: https:/ /github. com/spcs/ synaps/ pull/9/ files