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 Tokens.
To enable metrics in Artifactory, add the following values to the Artifactory System YAML file and restart Artifactory for it to take effect:
shared: metrics: enabled: true artifactory: metrics: enabled: true
To enable metrics in Xray, make the following configuration change to the Xray System YAML:
openMetrics: enabled: true