To add the cStatsExporter to the prometheus.yml file, perform the following actions.

Procedure

  1. Add following job configuration to the prometheus.yml.
    - job_name: 'cstatsExporter'
      static_configs:
      - targets: ['Node IP where cstats is running:9030' ]
      proxy_url: 'http://ProxyIP'
  2. Restart the service service prometheus restart.
  3. Add jobs in the prometheus.yml file for each Windows node or multiple NodeIP: Port for cStats can be added in the targets array.