如何将流程导出器配置到普罗米修斯配置文件?

How to configure process exporter to prometheus config file?

I am trying to implement prometheus process exporter from this link Process exporter and need guidance how to add process exporter in prometheus yml file. If somebody help me in which port process exporter is running so that it helps to add the port in prometheus yml file.

Download and extract your node exporter and run using the below command,

./process-exporter --config.path=process.yml --web.listen-address=localhost:6789

note: 6789 will be any port address you need to run

Same in prometheus config file add the port address you are running for your process exporter

默认情况下,9256 将是您可以捕获指标的端口。