Skip to content

Commit

Permalink
Merge branch 'main' into templateception-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk authored Jul 17, 2023
2 parents ac2055a + 5e64096 commit ff9af1b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 21 deletions.
43 changes: 23 additions & 20 deletions content/reference/api/metrics/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,29 @@ GET /metrics

The following parameters are used to configure the endpoint:

| Query Parameter | Description |
| ----------------------- | ------------------------------------------------------- |
| `user_count` | count of total users |
| `repo_count` | count of total repos |
| `build_count` | count of total builds |
| `running_build_count` | count of builds with status 'running' |
| `failure_build_count` | count of builds with status 'failure' |
| `pending_build_count` | count of builds with status 'pending' |
| `queued_build_count` | count of builds inside the queue |
| `killed_build_count` | count of builds with status 'killed' |
| `success_build_count` | count of builds with status 'success' |
| `error_build_count` | count of builds with status 'error' |
| `step_image_count` | count of total steps executed with each unique image |
| `step_status_count` | count of total steps with each status |
| `service_image_count` | count of total services executed with each unique image |
| `service_status_count` | count of total services with each status |
| `worker_build_limit` | count of worker build limits |
| `active_worker_count` | count of active workers |
| `inactive_worker_count` | count of inactive workers |

| Query Parameter | Description |
| ------------------------ | ----------------------------------------------------------------------------- |
| `user_count` | count of total users |
| `repo_count` | count of total repos |
| `build_count` | count of total builds |
| `running_build_count` | count of builds with status 'running' |
| `failure_build_count` | count of builds with status 'failure' |
| `pending_build_count` | count of builds with status 'pending' |
| `queued_build_count` | count of builds inside the queue |
| `killed_build_count` | count of builds with status 'killed' |
| `success_build_count` | count of builds with status 'success' |
| `error_build_count` | count of builds with status 'error' |
| `step_image_count` | count of total steps executed with each unique image |
| `step_status_count` | count of total steps with each status |
| `service_image_count` | count of total services executed with each unique image |
| `service_status_count` | count of total services with each status |
| `worker_build_limit` | count of worker build limits |
| `active_worker_count` | count of active workers |
| `inactive_worker_count` | count of inactive workers |
| `idle_worker_count` | count of workers with a status of idle (no running builds) |
| `available_worker_count` | count of workers with a status of available (one or more available executors) |
| `busy_worker_count` | count of workers with a status of busy (no available executors) |
| `error_worker_count` | count of workers with a status of error |

## Permissions

Expand Down
5 changes: 5 additions & 0 deletions content/reference/cli/worker/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ $ vela update worker --worker.hostname MyWorker --worker.address newaddress.exam
Address: newaddress.example.com,
Routes: [vela],
Active: true,
Status: busy,
LastStatusUpdateAt: 1681486769,
RunningBuildIDs: [123],
LastBuildStartedAt: 1681486769,
LastBuildFinishedAt: 1681486769,
LastCheckedIn: 1681486769,
BuildLimit: 1,
}
Expand Down
7 changes: 7 additions & 0 deletions content/reference/cli/worker/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ address: myworker.example.com
routes:
- vela
active: true
status: busy
laststatusupdatedat: 1681487969
runningbuildids:
- 123
lastbuildstartedat: 1681487969
lastbuildfinishedat: 1681487969
lastcheckedin: 1681487969
buildlimit: 1

```
1 change: 0 additions & 1 deletion themes/docsy/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
{{ partialCached "favicons.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" }}
Expand Down

0 comments on commit ff9af1b

Please sign in to comment.