Prometheus configuration file (jpc_prometheus_server.yml)
When Script exporter discovery is specified using the HTTP-based http_sd_config method, specify the direct endpoint to http_sd_configs.url in scrape_configs in this file. No further changes to other specifications have been made with IM Exporter.
The following shows the HTTP-based service discovery endpoint for the Script exporter specified in http_sd_configs.url in scrape_configs.
http://installation-host-name:Script-exporter-port-number/discovery
In contrast to file_sd_configs, labels cannot be independently added with http_sd_configs. Labels must be added using relabel_configs. For details on the labels required, see 10.1.2(2)(b) Scraping definition for Script exporter of IM Exporter in the manual JP1/Integrated Management 3 - Manager Configuration Guide.