Use the following cURL command to retrieve router metrics:
curl -H "Authorization: Bearer TOKEN" http://{artifactory_url}/router/api/v1/metrics
Metric | Description | Prometheus Metric Type |
---|---|---|
| The total number of success router configuration reloads. | COUNTER |
| The total number of router configuration reload failures. | COUNTER |
| The timestamp of the last successful router configuration reload. | GAUGE |
| The timestamp of the last unsuccessful router configuration reload. | GAUGE |
| Total number of router entry-point requests. | COUNTER |
| Total number of router TLS (Transport Layer Security) entry-point requests. | COUNTER |
| Duration of router entry-point requests. | GAUGE |
| Number of open router entry-point requests. | COUNTER |
| Total size (in bytes) of router entry-point requests. | COUNTER |
| Total size (in bytes) of router entry-point responses. | COUNTER |
| Total number of router requests. | COUNTER |
| Total number of router TLS (Transport Layer Security) requests. | COUNTER |
| Duration of router requests. | GAUGE |
| Number of open router requests. | COUNTER |
| Total size (in bytes) of router requests. | COUNTER |
| Total size (in bytes) of router responses. | COUNTER |
| Total number of service requests. | COUNTER |
| Total number of service TLS (Transport Layer Security) requests. | COUNTER |
| Duration of service requests. | GAUGE |
| Total number of service retries. | COUNTER |
| Number of open service connections. | GAUGE |
| Total size (in bytes) of service requests. | COUNTER |
| Total size (in bytes) of service responses. | COUNTER |