Artifactory Metrics

JFrog Platform Administration Documentation

ft:sourceType
Paligo

The Get the Open Metrics for Artifactory REST API returns the following metrics in Open Metrics format.Get the Open Metrics for Artifactory

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)

GAUGE

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

Total number of available outbound HTTP connections

COUNTER

jfrt_http_connections_leased_total

Total number of available leased HTTP connections

COUNTER

jfrt_http_connections_pending_total

Total number of available pending HTTP connections

COUNTER

jfrt_http_connections_max_total

Total number of maximum HTTP connections

COUNTER

jfrt_slow_queries_duration_seconds

Slow queries duration in seconds

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_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_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_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_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_signed_url_redirect_total

Counts how many times signed URLs were generated.

Available from Artifactory version 7.59.

COUNTER

jfsh_http_connection_available_total

The number of available connections between the binary provider and cloud storage.

Available from Artifactory version 7.59.

Note

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

GAUGE

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

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

jfrt_federation_member_lag_total

Records all Federated repositories whose sync lag exceeds the defined threshold (in milliseconds).

Note

The measured lag must exceed the minimum threshold value defined in the system property artifactory.federated.metrics.sync.threshold.time.ms.

COUNTER

jfrt_federation_max_lag_ms_total

Records the maximum lag value from among all Federated repositories in milliseconds.

COUNTER

jfrt_federation_num_mirrors_exceeding_lag_threshold_total

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

jfrt_federation_num_repos_exceeding_lag_threshold_total

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

jfrt_federation_num_members_disabled_total

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.Monitor Federated Repositories using Open Metrics