mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
| .. | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| run.sh | ||
Bkstats
A crude script to compute statistics from our Buildkite pipelines. Owned by the DevX team.
Usage
$ go run main.go -buildkite.token $BUILDKITE_API_TOKEN -date 2021-10-22 -buildkite.pipeline sourcegraph
# ...
On 2021-10-22, the pipeline was red for 1h8m32.856s
Buildkite API token
- Go over your personal settings
- Create a new token with the following permissions:
- check
sourcegraphorganization read_buildsread_pipelines
Computation details
Red time is the duration from the end of a failed build to the end of the first subsequent green build.