doc: document new operations/errors metrics
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
9716b1d8c9
commit
6cb6350602
1 changed files with 11 additions and 4 deletions
|
|
@ -48,11 +48,18 @@ This is one of the features in GARM that I really love having. For one thing, it
|
|||
|
||||
## Runner metrics
|
||||
|
||||
| Metric name | Type | Labels | Description |
|
||||
|----------------------|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|
|
||||
| `garm_runner_status` | Gauge | `name`=<runner name> <br>`pool_owner`=<owner name> <br>`pool_type`=<repository\|organization\|enterprise> <br>`provider`=<provider name> <br>`runner_status`=<running\|stopped\|error\|pending_delete\|deleting\|pending_create\|creating\|unknown> <br>`status`=<idle\|pending\|terminated\|installing\|failed\|active> <br> | This is a gauge value that gives us details about the runners garm spawns |
|
||||
| Metric name | Type | Labels | Description |
|
||||
|--------------------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
||||
| `garm_runner_status` | Gauge | `name`=<runner name> <br>`pool_owner`=<owner name> <br>`pool_type`=<repository\|organization\|enterprise> <br>`provider`=<provider name> <br>`runner_status`=<running\|stopped\|error\|pending_delete\|deleting\|pending_create\|creating\|unknown> <br>`status`=<idle\|pending\|terminated\|installing\|failed\|active> <br> | This is a gauge value that gives us details about the runners garm spawns |
|
||||
| `garm_runner_operations_total` | Counter | `provider`=<provider name> <br>`operation`=<CreateInstance\|DeleteInstance\|GetInstance\|ListInstances\|RemoveAllInstances\|Start\Stop> | This is a counter that increments every time a runner operation is performed |
|
||||
| `garm_runner_errors_total` | Counter | `provider`=<provider name> <br>`operation`=<CreateInstance\|DeleteInstance\|GetInstance\|ListInstances\|RemoveAllInstances\|Start\Stop> | This is a counter that increments every time a runner operation errored |
|
||||
|
||||
More metrics will be added in the future.
|
||||
## Github metrics
|
||||
|
||||
| Metric name | Type | Labels | Description |
|
||||
|--------------------------------|---------|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
||||
| `garm_github_operations_total` | Counter | `operation`=<ListRunners\|CreateRegistrationToken\|...> <br>`scope`=<Organization\|Repository\|Enterprise> | This is a counter that increments every time a github operation is performed |
|
||||
| `garm_github_errors_total` | Counter | `operation`=<ListRunners\|CreateRegistrationToken\|...> <br>`scope`=<Organization\|Repository\|Enterprise> | This is a counter that increments every time a github operation errored |
|
||||
|
||||
## Enabling metrics
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue