releases:
  - name: riemann
    url: https://github.com/alphagov/paas-cf/releases/download/riemann-1/riemann-gds-1.tgz
    sha1: 8a4220a039ce6a2a0383aab8d4a76746501e58ec
    version: gds-1

jobs:
  - name: concourse
    templates:
      - name: datadog-agent
        release: datadog-agent
        properties:
          datadog: (( inject meta.datadog ))
          tags:
            job: concourse
            tags: (( inject meta.datadog_tags ))
      - name: riemann
        release: riemann
        properties:
          riemann:
            datadog:
              api_key: (( grab meta.datadog.api_key ))

      - name: atc
        properties:
          riemann:
            host: '127.0.0.1'
            service_prefix: 'concourse.'

releases:
  - name: riemann
    url: https://github.com/alphagov/paas-riemann-boshrelease/releases/download/v0.5.0-dev/riemann-gds-4.tgz
    sha1: 76bbc59dfb46052353226839c67ad1f011ed2225
    version: gds-4

jobs:
  - name: concourse
    templates:
      - name: datadog-agent
        release: datadog-agent
        properties:
          datadog: (( inject meta.datadog ))
          tags:
            job: concourse
            tags: (( inject meta.datadog_tags ))
      - name: riemann
        release: riemann
        properties:
          riemann:
            datadog:
              api_key: (( grab meta.datadog.api_key ))

      - name: atc
        properties:
          riemann:
            host: '127.0.0.1'
            service_prefix: 'concourse.'

Update Rieman to custom release
Update Rieman to custom release

Our custom release contains fix Rieman bug where it gets stuck while
sending metrics. Also, it should improve performance as we switched to
batch processing of events.
