Use the following cURL command to retrieve JFConnect metrics:
curl -H "Authorization: Bearer TOKEN" http://{artifactory_url}/jfconnect/api/v1/metrics
Metric | Description | Prometheus Metric Type |
---|---|---|
| Records the number of disk bytes used for the application. | GAUGE |
| Records the number of disk bytes available for the application. | GAUGE |
| Total time taken to collect all the metrics. | GAUGE |
| Total count of the collected metrics. | GAUGE |
| The amount of heap memory (in bytes) currently being used by the application. | GAUGE |
| The amount of heap memory (in bytes) currently allocated to the objects. | GAUGE |
| The amount of memory that was allocated but is currently not being used by the application. | GAUGE |
| The number of allocated heap objects. | GAUGE |
| Amount of memory obtained from OS for heap. | GAUGE |
| Fraction of the program's available CPU time used by the Garbage Collector (GC) since the program started. | GAUGE |
| Number of go routines that currently exist. | GAUGE |
| CPU usage percentage of the first CPU core during a 50-millisecond interval. | GAUGE |
| Average load of the host in the last minute. | GAUGE |
| Average load of the host in the last 5 minutes. | GAUGE |
| Average load of the host in the last 15 minutes. | GAUGE |
| Virtual memory that is used by the host. | GAUGE |
| Virtual memory that is not used by the host. | GAUGE |