---
- type: replace
  path: /releases/-
  value:
    name: "prometheus"
    version: "23.1.0"
    url: "https://bosh.io/d/github.com/cloudfoundry-community/prometheus-boshrelease?v=23.1.0"
    sha1: "d9ef31b8e57d8668de14cdf976cbaffa78a80897"

- type: replace
  path: /addons?/-
  value:
    name: prometheus-blackbox-exporter
    jobs:
      - name: blackbox_exporter
        release: prometheus
        properties:
          blackbox_exporter:
            config:
              modules:
                dns_canary:
                  prober: dns
                  timeout: 1s
                  dns:
                    query_name: __canary.((system_domain))
                    query_type: "A"

---
- type: replace
  path: /releases/-
  value:
    name: "prometheus"
    version: "25.0.0"
    url: "https://bosh.io/d/github.com/cloudfoundry-community/prometheus-boshrelease?v=25.0.0"
    sha1: "f2a1de6d1b00c856402964347685274877b33910"

- type: replace
  path: /addons?/-
  value:
    name: prometheus-blackbox-exporter
    jobs:
      - name: blackbox_exporter
        release: prometheus
        properties:
          blackbox_exporter:
            config:
              modules:
                dns_canary:
                  prober: dns
                  timeout: 1s
                  dns:
                    query_name: __canary.((system_domain))
                    query_type: "A"

Upgrade prometheus release for blackbox to v25
Upgrade prometheus release for blackbox to v25

so we are only running one version of the prometheus release

Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk>
