Artifactory Service Metrics

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Use the following cURL command to retrieve metrics for the main Artifactory service:

curl -H "Authorization: Bearer TOKEN" http://{artifactory_url}/artifactory/api/v1/metrics

Metric

Description

Prometheus Metric Type

app_disk_total_bytes

Total Disk used by the application (Home directory)

GAUGE

app_disk_free_bytes

Total Disk free

GAUGE

jfrt_artifacts_gc_duration_seconds

Time taken by a GC run

GAUGE

jfrt_artifacts_gc_binaries_total

Number of binaries removed by a GC run

GAUGE

jfrt_artifacts_gc_size_cleaned_bytes

Space reclaimed by a GC run

GAUGE

jfrt_artifacts_gc_current_size_bytes

Space occupied by Binaries after a GC run (Only for FULL GC runs)

Note

This metric is deprecated as of Artifactory 7.79.0.

GAUGE

jfrt_repo_by_type_total

Number of repositories by type (local, remote, virtual) and package type.

COUNTER

jfrt_runtime_heap_freememory_bytes

Available free memory for JVM

GAUGE

jfrt_runtime_heap_maxmemory_bytes

Maximum memory configured for JVM

GAUGE

jfrt_runtime_heap_totalmemory_bytes

Total memory configured for JVM memory

GAUGE

jfrt_runtime_heap_processors_total

Total number of processors for JVM memory

COUNTER

jfrt_db_connections_active_total

Total number of active total DB connections

GAUGE

jfrt_db_connections_idle_total

Total number of idle DB connections

GAUGE

jfrt_db_connections_max_active_total

Total number of maximum DB connections

GAUGE

jfrt_db_connections_min_idle_total

Total number of min idle DB connections

GAUGE

jfrt_http_connections_available_total

(see note below table)

Total number of available outbound HTTP connections

GAUGE

jfrt_http_connections_leased_total

(see note below table)

Total number of available leased HTTP connections

GAUGE

jfrt_http_connections_pending_total

(see note below table)

Total number of available pending HTTP connections

GAUGE

jfrt_http_connections_max_total

(see note below table)

Total number of maximum HTTP connections

GAUGE

jfrt_slow_queries_duration_seconds

Slow queries duration in seconds

GAUGE

jfsh_binaries_bytes_download_total

Counts the total bytes downloaded by binary providers (cache-fs, s3-storage-v3, azure-blob-storage-v2, google-storage-v2). The name label indicates the binary provider name.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_bytes_upload_total

Counts the total bytes uploaded by binary providers (cache-fs, s3-storage-v3, azure-blob-storage-v2, google-storage-v2). The name label indicates the binary provider name.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_download_failures_total

Counts the total number of failed binary download operations.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_download_successes_total

Counts the total number of successful binary download operations.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_upload_failures_total

Counts the total number of failed binary upload operations.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_upload_successes_total

Counts the total number of successful binary upload operations.

Available from Artifactory version 7.76.

COUNTER

jfsh_binaries_count_total

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

jfsh_binaries_download_total

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

jfsh_binaries_not_found_total

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

jfsh_binaries_upload_total

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

jfsh_sharding_optimization_required_total

Counts the total sharding optimizations that are required by the system.

Available from Artifactory version 7.68.

COUNTER

jfsh_cache_evicted_bytes

Counts the amount of cleared bytes from cache-fs.

Available from Artifactory version 7.55.

GAUGE

jfsh_storage_size_bytes

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

jfsh_signed_url_redirect_total

Counts how many times signed URLs were generated.

Available from Artifactory version 7.59.

COUNTER

jfsh_http_connection_leased_total

The number of connections that are leased.

Available from Artifactory version 7.59.

Note

This metric is used only for the google-storage-v2 storage provider.

GAUGE

jfsh_http_connection_pending_total

The number of pending connections.

Available from Artifactory version 7.59.

Note

This metric is used only for the google-storage-v2 storage provider.

GAUGE

jfsh_http_connection_max_total

The maximum number of possible connections in the connection pool.

Available from Artifactory version 7.59.

Note

This metric is used only for the google-storage-v2 storage provider.

GAUGE

release_bundle_deletion_total

The total number of Release Bundle versions that have been deleted from Artifactory.

Available labels include actor, bundle_type.

Available from Artifactory version 7.80.0.

Note

When the bundle_type is target, this metric includes all Release Bundles (v1 & v2). When the bundle_type is source, only Release Bundles v1 are included.

COUNTER

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.