apiVersion: v1
kind: ConfigMap
metadata:
  name: ceres
data:
  partitions.json: |-
    {
      "ceres-0": "0-15",
      "ceres-1": "16-31",
      "ceres-2": "32-47",
      "ceres-3": "48-63"
    }
  application.yml: |-
    ceres:
      downsample:
        downsample-process-period: 896s # must be multiple of 16!
        granularities:
          - width: 5m
            ttl: 14d
            partitionWidth: 6h
          - width: 1h
            ttl: 365d
            partitionWidth: 24h
        partitions: 64
        partitions-mapping-file: /config/partitions.json
        # must be multiple of max granularity width
        time-slot-width: 1h
        processing-threads: 2
      raw-ttl: 2d
      series-set-cache-size: 2000000
      tenant-tag: tenant
    logging:
      level:
        com.rackspace.ceres.app: debug
