Update the prometheus.yml file to add a scrape job. Update the following configuration with the adequate values:
job_name: Use a unique name among other scrape jobs. All metrics collected through this job will have automatically a ‘job’ label with this value added to itusername: The name of an admin userpassword: The admin passwordtargets: The URL of the Artifactory node.
For more information about Prometheus scrape job configuration, see here.