Get the Open Metrics for Distribution

JFrog REST APIs

ft:sourceType
Paligo

Description: Returns the open metrics collected for JFrog Distribution.Distribution Open Metrics Support

Security: Requires an admin user

Usage: GET /api/v1/metrics

Produces: text/plain (in Open Metrics format)

Sample Usage:

GET /api/v1/metrics

If metrics is not enabled - empty text.
If enabled : 
# TYPE jfds_number_of_remote_deletion_requests_per_trigger_type_v2 counter
# HELP jfds_number_of_remote_deletion_requests_per_trigger_type_v2 number of v2 distribute delete actions per type
jfds_number_of_remote_deletion_requests_per_trigger_type_v2_total{application="Distribution",category="distribution",request_type="api_v1"} 6.0 1706175873302
# TYPE jfds_number_of_deleted_release_bundle_versions counter
# HELP jfds_number_of_deleted_release_bundle_versions number of deleted release bundle versions
jfds_number_of_deleted_release_bundle_versions_total{application="Distribution",category="release_bundle_version"} 25.0 1706175873302
# TYPE jfds_number_of_distributions_per_status counter
# HELP jfds_number_of_distributions_per_status number of distributions per state
jfds_number_of_distributions_per_status_total{application="Distribution",category="distribution",status="completed"} 66.0 1706175873302
jfds_number_of_distributions_per_status_total{application="Distribution",category="distribution",status="failed"} 4.0 1706175873302
# TYPE jfds_distribution_build_info gauge
# HELP jfds_distribution_build_info
jfds_distribution_build_info{application="Distribution",revision="22201900",version="2.22.1"} 1.0 1706175873302
# TYPE jfds_number_of_rejected_distributions counter
# HELP jfds_number_of_rejected_distributions number of rejected release bundle distributions/exports
jfds_number_of_rejected_distributions_total{application="Distribution",category="xray_scans"} 1.0 1706175873302
# TYPE jfds_number_of_exports_per_status_v2 counter
# HELP jfds_number_of_exports_per_status_v2 number of v2 exports per state
jfds_number_of_exports_per_status_v2_total{application="Distribution",category="export",status="failed"} 1.0 1706175873302
jfds_number_of_exports_per_status_v2_total{application="Distribution",category="export",status="completed"} 3.0 1706175873302
# TYPE jfds_total_number_of_distribution_requests_v2 counter
# HELP jfds_total_number_of_distribution_requests_v2 number of v2 distribute start actions
jfds_total_number_of_distribution_requests_v2_total{application="Distribution",category="distribution"} 22.0 1706175873302
# TYPE jfds_number_of_artifacts_in_release_bundle_version_per_package_type counter
# HELP jfds_number_of_artifacts_in_release_bundle_version_per_package_type number of artifacts in a release bundle per artifact package type
jfds_number_of_artifacts_in_release_bundle_version_per_package_type_total{application="Distribution",artifact_package_type="maven",category="release_bundle_version"} 156.0 1706175873302
jfds_number_of_artifacts_in_release_bundle_version_per_package_type_total{application="Distribution",artifact_package_type="nuget",category="release_bundle_version"} 18.0 1706175873302
jfds_number_of_artifacts_in_release_bundle_version_per_package_type_total{application="Distribution",artifact_package_type="generic",category="release_bundle_version"} 5.0 1706175873302
jfds_number_of_artifacts_in_release_bundle_version_per_package_type_total{application="Distribution",artifact_package_type="npm",category="release_bundle_version"} 24.0 1706175873302
jfds_number_of_artifacts_in_release_bundle_version_per_package_type_total{application="Distribution",artifact_package_type="docker",category="release_bundle_version"} 795.0 1706175873302