diff --git a/pkg/archive/archive.go b/pkg/archive/archive.go index 385a67c..c3719b2 100644 --- a/pkg/archive/archive.go +++ b/pkg/archive/archive.go @@ -89,31 +89,29 @@ func BuildDocs(sr result.ScenarioResults, uuid string) ([]interface{}, error) { } c := []float64{lo, hi} d := Doc{ - UUID: uuid, - Timestamp: time, - ToolVersion: sr.Version, - ToolGitCommit: sr.GitCommit, - Driver: r.Driver, - HostNetwork: r.HostNetwork, - Parallelism: r.Parallelism, - Profile: r.Profile, - Duration: r.Duration, - Virt: sr.Virt, - Samples: r.Samples, - Service: r.Service, - Messagesize: r.MessageSize, - Burst: r.Burst, - TputMetric: r.Metric, - LtcyMetric: ltcyMetric, - ServerNodeCPU: r.ServerMetrics, - ClientNodeCPU: r.ClientMetrics, - ServerPodCPU: r.ServerPodCPU.Results, - ClientPodCPU: r.ClientPodCPU.Results, - Metadata: sr.Metadata, - ServerNodeLabels: r.ServerNodeLabels, - ClientNodeLabels: r.ClientNodeLabels, - AcrossAZ: r.AcrossAZ, - Confidence: c, + UUID: uuid, + Timestamp: time, + ToolVersion: sr.Version, + ToolGitCommit: sr.GitCommit, + Driver: r.Driver, + HostNetwork: r.HostNetwork, + Parallelism: r.Parallelism, + Profile: r.Profile, + Duration: r.Duration, + Virt: sr.Virt, + Samples: r.Samples, + Service: r.Service, + Messagesize: r.MessageSize, + Burst: r.Burst, + TputMetric: r.Metric, + LtcyMetric: ltcyMetric, + ServerNodeCPU: r.ServerMetrics, + ClientNodeCPU: r.ClientMetrics, + ServerPodCPU: r.ServerPodCPU.Results, + ClientPodCPU: r.ClientPodCPU.Results, + Metadata: sr.Metadata, + AcrossAZ: r.AcrossAZ, + Confidence: c, } UDPLossPercent, e := result.Average(r.LossSummary) if e != nil {