Get Pipelines Application Metrics Data

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get the following application metrics data for Pipelines:

  • Pipelines per Project count

  • Pipelines count

  • Concurrent active builds count

  • Concurrent allowed builds count

  • Concurrent available builds count

Security: Requires a valid user

Usage: GET api/v1/metrics/application

Produces: text/plain

Sample Response:

GET /pipelines/api/v1/metrics/application

# HELP jfpip_pipelines_per_project_count Number of pipelines per project
# UPDATED jfpip_pipelines_per_project_count 1677837235670
# TYPE jfpip_pipelines_per_project_count counter
jfpip_pipelines_per_project_count{project="default"} 1 1677837235670
# HELP jfpip_pipelines_count Total number of pipelines
# UPDATED jfpip_pipelines_count 1677837235670
# TYPE jfpip_pipelines_count counter
jfpip_pipelines_count 1 1677837235670
# HELP jfpip_concurrent_active_builds_count Available concurrent build count
# UPDATED jfpip_concurrent_active_builds_count 1677837235670
# TYPE jfpip_concurrent_active_builds_count counter
jfpip_concurrent_active_builds_count 0 1677837235670
# HELP jfpip_concurrent_allowed_builds_count Available concurrent build count
# UPDATED jfpip_concurrent_allowed_builds_count 1677837235670
# TYPE jfpip_concurrent_allowed_builds_count counter
jfpip_concurrent_allowed_builds_count 3 1677837235670
# HELP jfpip_concurrent_available_builds_count Available concurrent build count
# UPDATED jfpip_concurrent_available_builds_count 1677837235670
# TYPE jfpip_concurrent_available_builds_count counter
jfpip_concurrent_available_builds_count 3 1677837235670