Use the following cURL command to retrieve workers metrics:
curl -H "Authorization: Bearer TOKEN" http://{artifactory_url}/workers/api/v1/metrics
Metric | Description | Prometheus Metric Type |
---|---|---|
| The total number of worker executions. | GAUGE |
| The accumulated CPU time for worker executions. | GAUGE |
| The total number of worker execution failures. | COUNTER |
| The accumulated memory usage by workers. | GAUGE |
| The number of worker executions in progress. | COUNTER |
| The number of successful worker executions. | COUNTER |
| The accumulate worker execution time. | GAUGE |
| The total number of tenants being managed. | GAUGE |
| The total number of workers. | GAUGE |
For more information, see Workers.