Merge pull request #64695 from krzysied/etcd_metrics

Automatic merge from submit-queue (batch tested with PRs 64695, 65982, 65908). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Collecting etcd metrics

**What this PR does / why we need it**:
Adding etcd metrics to performance test log.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref #64030

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2018-07-10 08:55:03 -07:00
committed by GitHub
3 changed files with 142 additions and 0 deletions

View File

@@ -441,6 +441,13 @@ var _ = SIGDescribe("Density", func() {
}
summaries = append(summaries, latency)
}
etcdMetrics, err := framework.VerifyEtcdMetrics(c)
framework.ExpectNoError(err)
if err == nil {
summaries = append(summaries, etcdMetrics)
}
summaries = append(summaries, testPhaseDurations)
framework.PrintSummaries(summaries, testCaseBaseName)