title: Different Prometheus scrape URL for every target
body: <p>Every instance of my application has a different URL. 
  How can I configure prometheus.yml so that it takes path of a target along with the host name?</p>
  
  <pre><code>scrape_configs:
  - job_name:       'example-random'
  
  # Override the global default and scrape targets from this job every 5 seconds.
  scrape_interval: 5s
  
  static_configs:
    - targets: ['localhost:8090','localhost:8080']
      labels:
        group: 'dummy'
  </code></pre>