Artifactory Metrics

JFrog Platform Administration Documentation

Content Type
Administration / Platform
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)

Note

This metric is deprecated as of Artifactory 7.79.0.

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

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

jfrt_federation_num_repos_status_total

Records the number of Federated repositories that have the indicated status. Possible statuses include: healthy, pending full sync, full sync running, out of sync, exhausted, disabled

Note

For more information about Federation repository metrics, see Monitor Federated Repositories using Open Metrics.Monitor Federated Repositories using Open Metrics

Access Metrics

Metric

Description

Prometheus Metric Type

jfac_runtime_heap

Records the Access runtime heap metrics.

GAUGE

jfac_db_connections

Records the Access database connection metrics.

GAUGE

jfac_slow_queries

Records the metrics for slow Access queries.

GAUGE

Router Metrics

Metric

Description

Prometheus Metric Type

jfrou_traefik_config_reload_total

Records metrics regarding total configuration reload.

COUNTER

jfrou_traefik_config_reload_total_failure

Records metrics regarding total configuration reload failure.

COUNTER

jfrou_traefik_config_reload_lastSuccessTimestamp

Records the metrics regarding the timestamp for the last successful configuration reload.

COUNTER

jfrou_traefik_config_reload_lastFailureTimestamp

Records the metrics regarding the timestamp for the last failed configuration reload.

COUNTER

jfrou_traefik_entrypoint_requests_total

Records the metrics regarding total router entry-point requests.

COUNTER

jfrou_traefik_entrypoint_request_duration

Records the metrics regarding the duration of router entry-point requests.

GAUGE

jfrou_traefik_entrypoint_connections_open

Records the metrics regarding open router entry-point requests.

GAUGE

jfrou_traefik_entrypoint_requests_bytes_total

Records the metrics regarding the total bytes of the router entry-point requests.

COUNTER

jfrou_traefik_entrypoint_responses_bytes_total

Records the metrics regarding the total bytes of the router entry-point responses.

COUNTER

jfrou_traefik_service_requests_total

Records the metrics regarding total service requests.

GAUGE

jfrou_traefik_service_requests_duration

Records the metrics regarding the duration of service requests.

GAUGE

jfrou_traefik_service_connections_open

Records the metrics regarding the open service connections.

GAUGE

jfrou_traefik_service_requests_bytes_total

Records the metrics regarding total bytes of service requests.

COUNTER

jfrou_traefik_service_responses_bytes_total

Records the metrics regarding total bytes of service responses.

COUNTER

Event Metrics

Metric

Description

Prometheus Metric Type

jfevt_app_triggers_preparation_time_seconds_sum

Records metrics about time to prepare application trigger in seconds.

COUNTER

jfevt_app_triggers_preparation_time_total_count

Records metrics about the number of times an application triggers was prepared.

COUNTER

jfevt_app_triggers_target_response_time_seconds_sum

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

jfevt_app_triggers_target_response_time_total_count

Records the total number of calls to the target.

COUNTER

jfevt_app_triggers_total_time_seconds_sum

Records the total trigger time in seconds.

COUNTER

jfevt_app_triggers_total_time_total_count

Records the total trigger time in seconds for all the triggers.

COUNTER

Mission Control Metrics

Metric

Description

Prometheus Metric Type

jfmc_db_connections_max_pool_size_total

Records the maximum pool size for database connections.

GAUGE

jfmc_db_connections_min_idle_total

Records the minimum total idle time for database connections.

GAUGE

jfmc_runtime_heap_freememory_bytes

Records the free memory bytes in the runtime heap.

GAUGE

jfmc_runtime_heap_maxmemory_bytes

Records the maximum memory bytes in the runtime heap.

GAUGE

jfmc_runtime_heap_totalmemory_bytes

Records the total memory bytes in the runtime heap.

GAUGE

jfmc_runtime_heap_processors_bytes

Records the memory bytes in the heap processor.

GAUGE

app_disk_used_bytes

Records the number of disk bytes used for the application.

GAUGE

app_disk_free_bytes

Records the number of free disk bytes for the application.

GAUGE