title: Prometheus Helm Chart: How to configure blackbox exporter?
body: <p>I'm using the kube-prometheus-stack. In addition to it I installed the Prometheus Blackbox Exporter.</p>
  <p>When I want to add a scrape target to my kube-prometheus-stack, I usually need to add a <code>ServiceMonitor</code>. I have added the following <code>ServiceMonitor</code> for my blackbox exporter:</p>
  <pre><code>apiVersion: monitoring.coreos.com/v1
  kind: ServiceMonitor
  metadata:
    name: blackbox-exporter-servicemonitor
    labels:
      app: blackbox-exporter-app
      release: prometheus
  spec:
    endpoints:
    - interval: 30s
      path: /metrics
      port: http
      scrapeTimeout: 10s
    selector:
      matchLabels:
        app: blackbox-exporter-app
  </code></pre>
  <p>This works so far, meaning the blackbox exporter shows up in my prometheus targets.</p>
  <p>However to configure a blackbox exporter I would have to add a scrape target like this (in the prometheus config file, when not using the kube-prometheus-stack):</p>
  <pre><code>- job_name: 'blackbox'
    metrics_path: /probe
    params:
      module: [http_2xx]  # Look for a HTTP 200 response.
    static_configs:
      - targets:
        - http://localhost:5000
        - http://localhost:3000
        - http://localhost:9090
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: 127.0.0.1:9115  # The blackbox exporter's real hostname:port.
  </code></pre>
  <p>Which is where I'm stuck. How do I add a config like this to my service monitor such that I can add <code>static_configs</code> to add the probe targets for the blackbox exporter?</p>