Subscription Information
This feature is supported on the Self-Hosted platform, with a Pro, Pro X, Enterprise X, or Enterprise+ license.
The JFrog Platform supports Open Metrics for Self-hosted customers (the functionality is not supported for JFrog Cloud customers).
Credentials for Accessing Open Metrics
From Artifactory version 7.21.1, an admin user can create a scoped access token using system:metrics:r
and use that as the credentials for getting the service metrics. The admin can create read-only access token to get metrics, which then enables anyone with the read-only token to read metrics.To learn more, see Access Token Structure.
To enable metrics in Artifactory, make the following configuration changes to the Artifactory System YAML.
While metrics are enabled by default in Xray, if they are not enabled, you can make the following configuration changes to the Xray System YAML to enable them.+
To enable metrics in Insight, make the following configuration changes to the Insight System YAML.
To enable metrics in Private Distribution Network (PDN) (available from Artifactory 7.38.8 and Distribution 2.12.3), make the following configuration changes tothe PDN Server system.yaml
.
Next, to enable metrics in the PDN Node, make the following configuration changes to the PDN Nodesystem.yaml
.