The Artifactory Federation Service (RTFS) exposes operational metrics in OpenMetrics format, compatible with Prometheus and other monitoring systems. These metrics provide visibility into federation health, synchronization performance, and system resources.
All RTFS custom metrics use the prefix jfrtfs_. The metrics endpoint also exposes system/JVM/Actuator metrics.
Note: OpenMetrics for RTFS is available for self-hosted deployments only, not JFrog Cloud.
Since: 7.111.12, 7.117.5
Usage:
GET /rtfs/api/v1/metrics
Produces: text/plain (OpenMetrics format)
Sample Usage:
Shell
curl -H "Authorization: Bearer <ACCESS_TOKEN>" https://<ARTIFACTORY_URL>/rtfs/api/v1/metrics
RTFS includes a ServiceMonitor for Prometheus Operator. Enable in Helm values:
serviceMonitor:
enabled: true
interval: 60s
scrapeTimeout: 15s
Metric Name Type Description Labels jfrtfs_members_in_statusGauge Number of federation members in a specific status tenant, member_statusjfrtfs_members_in_status_target_shGauge Number of self-hosted target members in error status tenant, member_statusjfrtfs_disabled_membersGauge Count of disabled federation members tenant
Member Status Values: FULL_SYNC_RUNNING, PENDING_FS, IMPORT_IN_PROGRESS, FULL_SYNC_PREPARING, FOR_REMOVAL, READ_ONLY, ERROR_GENERIC, ERROR_OUT_OF_SYNC, ERROR_INACTIVE
Metric Name Type Description Labels jfrtfs_worker_lagGauge Maximum lag (ms) between oldest event and processing completion tenantjfrtfs_worker_repo_lagGauge Per-repository lag (ms) for top lagging repositories tenant, source_and_remote_repo_keys, remote_member_jpd_urljfrtfs_events_sent_to_remote_instanceCounter Total events sent to remote instances tenant, propagation_type or error jfrtfs_events_received_from_remote_rtfsCounter Total events received from remote RTFS tenantjfrtfs_events_removed_in_filterCounter Events filtered out during processing tenant
Metric Name Type Description Labels jfrtfs_full_sync_e2e_member_executionTimer Full sync duration per member tenant, source_jpd_url, source_repo_key, remote_member_jpd_url, remote_member_repo_keyjfrtfs_full_sync_file_list_artifactsGauge Number of artifacts in file list tenant, source_repo_keyjfrtfs_full_sync_file_list_rate_artifact_per_secGauge File list processing rate (artifacts/sec) tenant, source_repo_keyjfrtfs_full_sync_sort_rate_artifact_per_secGauge File list sort rate (artifacts/sec) tenant, source_repo_keyjfrtfs_full_sync_artifact_events_propagation_rateGauge Event propagation rate (per ms) tenantjfrtfs_full_sync_failureCounter Full sync failure count tenant, error
Metric Name Type Description Labels jfrtfs_binary_tasks_total_count_by_statusCounter Binary tasks count by status tenant, binary_task_statusjfrtfs_binary_tasks_counter_pending_with_lag_per_tenantMultiGauge Binary tasks pending with lag per tenant tenantjfrtfs_binary_tasks_counter_executing_with_lag_per_tenantMultiGauge Binary tasks executing with lag per tenant tenantjfrtfs_binary_tasks_handler_execution_duration_millisTimer Binary handler execution time -
Metric Name Type Description Labels jfrtfs_auto_healing_recovered_membersCounter Members recovered by auto-healing member_status
Metric Name Type Description Labels jfrtfs_db_failed_query_countCounter Failed database query count queryjfrtfs_event_dao_add_artifact_eventsTimer Time to add events to database - jfrtfs_worker_load_next_eventsTimer Time to load next events batch - jfrtfs_worker_send_eventsTimer Time for worker to send events - jfrtfs_single_worker_event_send_avg_timeTimer Average time per individual event handling -
Metric Name Type Description Labels jfrtfs_http_client_connections_availableGauge Available HTTP connections (%) - jfrtfs_http_client_connections_leasedGauge Leased HTTP connections (%) - jfrtfs_http_client_connections_pendingGauge Pending HTTP connection requests -
Metric Name Type Description Labels jfrtfs_inconsistent_repo_configs_to_remote_rtfs_countGauge Repos not synced with remote members tenantjfrtfs_inconsistent_repo_configs_to_local_rt_countGauge Repos not synced with local Artifactory tenantjfrtfs_total_repo_configs_in_rtfsGauge Total repos configured in RTFS tenantjfrtfs_total_repo_configs_in_rtGauge Total repos in Artifactory tenantjfrtfs_rt_to_rt_enabled_mismatch_countGauge Enable/disable mismatch between Artifactory instances tenantjfrtfs_rt_to_access_enabled_mismatch_countGauge Enable/disable mismatch between local Artifactory and Access tenantjfrtfs_member_state_to_access_enabled_mismatch_countGauge Enable/disable mismatch between local member state and remote Access tenantjfrtfs_member_state_jpd_to_jpd_config_mismatch_countCounter JPDs whose config does not exist tenantjfrtfs_member_state_jpd_to_master_token_mismatch_countCounter JPDs whose master token does not exist tenant
Metric Name Type Description Labels jfrtfs_source_repo_event_failuresCounter Failures processing repo events on source member tenantjfrtfs_target_repo_event_failuresCounter Failures processing repo events on target member Tenant, error
Metric Name Type Description Labels jfrtfs_repo_management_events_duration_between_partition_creationsGauge Time between event partition creations (ms) tenantjfrtfs_repo_management_message_blob_duration_between_partition_creationsGauge Time between blob partition creations (ms) tenantjfrtfs_sub_partition_total_countGauge Total sub-partitions count tenant, table_namejfrtfs_sub_partition_pk_countGauge Sub-partitions with primary keys tenant, table_name
Label Description tenantTenant identifier source_jpd_urlSource JPD URL source_repo_keySource repository key remote_member_jpd_urlRemote member JPD URL remote_member_repo_keyRemote member repository key source_and_remote_repo_keysCombined source and remote repo keys (format: localRepoKey__remoteRepoKey) member_statusMember state status errorError type or phase queryDatabase query identifier binary_task_statusBinary task status table_nameDatabase table name
# Alert if worker lag exceeds 5 minutes
jfrtfs_worker_lag{tenant="my-tenant"} > 300000
# Rate of full sync failures over 1 hour
rate(jfrtfs_full_sync_failure[1h])
# Members in error state
jfrtfs_members_in_status{member_status=~"ERROR.*"}
# Alert if available connections drop below 20%
jfrtfs_http_client_connections_available < 20
# Count of disabled federation members per tenant
jfrtfs_disabled_members