The Get the Open Metrics for Artifactory REST API returns the following metrics in Open Metrics format.
Metric | Description | Prometheus Metric Type |
---|---|---|
| Total Disk used by the application (Home directory) | GAUGE |
| Total Disk free | GAUGE |
| Time taken by a GC run | GAUGE |
| Number of binaries removed by a GC run | GAUGE |
| Space reclaimed by a GC run | GAUGE |
| Space occupied by Binaries after a GC run (Only for FULL GC runs) | GAUGE |
| Available free memory for JVM | GAUGE |
| Maximum memory configured for JVM | GAUGE |
| Total memory configured for JVM memory | GAUGE |
| Total number of processors for JVM memory | COUNTER |
| Total number of active total DB connections | GAUGE |
| Total number of idle DB connections | GAUGE |
| Total number of maximum DB connections | GAUGE |
| Total number of min idle DB connections | GAUGE |
| Total number of available outbound HTTP connections | COUNTER |
| Total number of available leased HTTP connections | COUNTER |
| Total number of available pending HTTP connections | COUNTER |
| Total number of maximum HTTP connections | COUNTER |
| Slow queries duration in seconds | GAUGE |
| Counts the total binaries downloaded by binary providers. The name and id labels relate to the binary provider in the chain. For cache-fs, the count is incremented only if a binary is present in the cache. Available from Artifactory version 7.59 providers: cache-fs, s3-storage-v3, azure-blob-storage-v2, and google-storage-v2. Available from Artifactory version 7.68 sharding and filesystem providers: file-system and state-aware. | COUNTER |
| Counts the total binaries uploaded to a binary provider. The name and id labels relate to the binary provider in the chain. Available from Artifactory version 7.59 providers: s3-storage-v3, azure-blob-storage-v2, and google-storage-v2. Available from Artifactory version 7.68 sharding and filesystem providers: file-system and state-aware. | COUNTER |
| Counts the total sharding optimizations that are required by the system. Available from Artifactory version 7.68. | COUNTER |
| Counts the total requests not found. The name and id labels relate to the binary provider in the chain. Available from Artifactory version 7.59 provider: cache-fs. | COUNTER |
| Counts the amount of cleared bytes from cache-fs. Available from Artifactory version 7.55. | GAUGE |
| The size of the binaries (in bytes) in the binary provider. The name and id labels relate to the binary provider in the chain. Available from Artifactory version 7.55 provider: cache-fs. | GAUGE |
| The number of binaries in the binary provider. The name and id labels relate to the binary provider in the chain. Available from Artifactory version 7.59 provider: cache-fs. | GAUGE |
| Counts how many times signed URLs were generated. Available from Artifactory version 7.59. | COUNTER |
| The number of available connections between the binary provider and cloud storage. Available from Artifactory version 7.59. NoteThis metric is used only for the google-storage-v2 storage provider. | GAUGE |
| The number of connections that are leased. Available from Artifactory version 7.59. NoteThis metric is used only for the google-storage-v2 storage provider. | GAUGE |
| The number of pending connections. Available from Artifactory version 7.59. NoteThis metric is used only for the google-storage-v2 storage provider. | GAUGE |
| The maximum number of possible connections in the connection pool. Available from Artifactory version 7.59. NoteThis metric is used only for the google-storage-v2 storage provider. | GAUGE |
Note
jfrt_http_connections_*
metrics collects outbound HTTP connections for repositories sorted by available pool count. If you want to collect this information for more repositories, you can set the value in the artifactory.system.properties file (available at $JFROG_HOME/var/etc/artifactory/
) using the flag, artifactory.httpconnections.metrics.max.total.repositories
. The default and recommended value is 10. You can set the value to any integer.
Federated Repository Metrics
Metric | Description | Prometheus Metric Type |
---|---|---|
| Records all Federated repositories whose sync lag exceeds the defined threshold (in milliseconds). NoteThe measured lag must exceed the minimum threshold value defined in the system property | COUNTER |
| Records the maximum lag value from among all Federated repositories in milliseconds. | 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 distinct Federated repositories that have a sync lag larger than the default threshold. This value will always be equal to or less than the Number of Mirrors Exceeding the Sync Threshold value. If no repositories have a log above the threshold, the recorded value will be 0. | COUNTER |
| Records the number of disabled mirrors, including disabled Federated repositories from the JPD in context as well as disabled remote Federated repositories that are part of any existing Federation from the JPD in context. | COUNTER |
Note
For more information about Federation repository metrics, see Monitor Federated Repositories using Open Metrics.