Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Fix convertSummaryMetrics (#214)
Browse files Browse the repository at this point in the history
Reported by @dinooliva
  • Loading branch information
songy23 committed Sep 13, 2019
1 parent c4af412 commit 470fd47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metrics_proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ func (se *statsExporter) PushMetricsProto(ctx context.Context, node *commonpb.No

func (se *statsExporter) convertSummaryMetrics(summary *metricspb.Metric) []*metricspb.Metric {
var metrics []*metricspb.Metric
var percentileTss []*metricspb.TimeSeries
var countTss []*metricspb.TimeSeries
var sumTss []*metricspb.TimeSeries

for _, ts := range summary.Timeseries {
var percentileTss []*metricspb.TimeSeries
var countTss []*metricspb.TimeSeries
var sumTss []*metricspb.TimeSeries
lvs := ts.GetLabelValues()

startTime := ts.StartTimestamp
Expand Down

0 comments on commit 470fd47

Please sign in to comment.