grafana/k6

Better metrics about sleep and group

Open

#921 opened on Feb 8, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (1,537 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (30,564 stars)
PR merge metrics
 (Avg merge 11d 15h) (47 merged PRs in 30d)

Description

Currently if a group includes a 10 second sleep we are going to say that the group took 10 seconds, which while correct might not be what the enduser is interested in. I propose that we:

  1. implement #880
  2. Have the group know that there was n seconds of sleep in it's current execution - probably through some new methods on lib.Group
  3. Add new metric group_sleep?
  4. Choose whether to remove the sleep time from the group_duration or add another metric that is the group_duration without the group_sleep or the reverse - have the group_duration be without the group_sleep but have another full_group_duration that includes the group_sleep

Contributor guide