Skip to content

Commit

Permalink
Keep UUID in measurement
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Sep 23, 2020
1 parent 1263a4d commit ea84875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/measurements/podLatency.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type podMetric struct {
podReady time.Time
PodReadyLatency int64 `json:"podReadyLatency"`
MetricName string `json:"metricName"`
UUID string `json:"uuid"`
}

type podLatencyQuantiles struct {
Expand Down Expand Up @@ -80,6 +81,7 @@ func (p *podLatency) createPod(obj interface{}) {
podMetrics[string(pod.UID)] = podMetric{
Timestamp: time.Now(),
MetricName: "podLatencyMeasurement",
UUID: factory.uuid,
}
}
}
Expand Down

0 comments on commit ea84875

Please sign in to comment.