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

StatsD integration #2

Open
agis opened this issue Jun 26, 2020 · 0 comments
Open

StatsD integration #2

agis opened this issue Jun 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@agis
Copy link
Collaborator

agis commented Jun 26, 2020

API

Enabling StatsD reporting could be done via a CLI flag, --statsd, that would accept a host/IP. Additionally we should fallback to the environment variable RSPECQ_STATSD.

Metrics

Metrics we could report (<ns> stands for <namespace>) grouped by type:

Counters

  • number of successful builds <ns>.builds.total
  • number of successful builds <ns>.builds.successful
  • number of successful but flaky builds <ns>.builds.successfulFlaky
  • number of failed builds <ns>.builds.failed
  • number of failed-fast builds <ns>.builds.failed_fast
  • number of builds with a non-example error <ns>.builds.errored

Timers

  • [reporter] build total run time <ns>.totalRuntime
  • [worker] queue initialization run time <ns>.queueInitRuntime
  • [reporter] run times of slowest jobs (top 10) <ns>.slowestJobs.<job>

Gauges

  • [reporter] number of examples executed <ns>.examples
  • [queue] number of flaky examples <ns>.flakeyTests
  • [reporter] number of requeues <ns>.requeues
  • [reporter] number of example failures <ns>.failures
  • [reporter] number of non-example errors (e.g. syntax errors) <ns>.errors
  • [worker?] number of worker failures <ns>.workerFailures
  • [worker] total number of spec files <ns>.specFiles
  • [worker] total queue size (aka. number of jobs) <ns>.queueSize
  • [worker] number of spec files splitted <ns>.filesSplitted
  • [worker] number of jobs generated from the splitted files <ns>.jobsFromSplit
  • [worker] new (untimed) job received <ns>.untimedJobs
@agis agis added the enhancement New feature or request label Jun 26, 2020
vfxcode pushed a commit that referenced this issue Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant