Use the following cURL command to retrieve event metrics:
curl -H "Authorization: Bearer TOKEN" http://{artifactory_url}/event/api/v1/metrics
Metric | Description | Prometheus Metric Type |
---|---|---|
| Records metrics about time to prepare application trigger in seconds. | COUNTER |
| Records metrics about the number of times an application triggers was prepared. | COUNTER |
| Records the total number of mirrors that have a sync lag larger than the default threshold. If no mirrors have a log above the threshold, the recorded value will be 0. | COUNTER |
| Records the total number of calls to the target. | COUNTER |
| Records the total trigger time in seconds. | COUNTER |
| Records the total trigger time in seconds for all the triggers. | COUNTER |