Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use clusterloader metrics for test duration #77

Open
akrzos opened this issue Aug 9, 2019 · 0 comments
Open

Use clusterloader metrics for test duration #77

akrzos opened this issue Aug 9, 2019 · 0 comments

Comments

@akrzos
Copy link
Contributor

akrzos commented Aug 9, 2019

Where ever possible we should use cluster loader metrics to determine test duration. Previously cluster loader test duration metrics were in a format that made quick jq comparisons difficult, however now the duration metrics is simply in nanoseconds:

{
  "marker": "cluster_loader_marker",
  "name": "cluster-loader-test",
  "type": "metrics.TestDuration",
  "startTime": "2019-08-09T13:40:47.96451457Z",
  "testDuration": 56681396581,
  "Steps": [
    {
      "type": "metrics.PodStepDuration",
      "startTime": "2019-08-09T13:40:48.308574872Z",
      "totalTime": 38262069047,
      "waitPodsDurations": [
        31011157273
      ],
      "rateDelay": 0,
      "rateDelayCount": 0,
      "stepPause": 0,
      "stepPauseCount": 1,
      "syncTime": 200
    }
  ]
}

This would replace running date commands to determine duration (Example in nodevertical) with simply comparing against the value in the clusterloader.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant