Move In Day

This commit is contained in:
Mike Reeves
2022-09-07 09:06:25 -04:00
parent dcb7b49dbe
commit 2bd9dd80e2
611 changed files with 8015 additions and 16211 deletions

View File

@@ -6,7 +6,7 @@
{% if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone'] or (grains.role == 'so-eval' and GRAFANA == 1) %}
{% set MANAGER = salt['grains.get']('master') %}
{% set VERSION = salt['pillar.get']('global:soversion', 'HH1.2.2') %}
{% set VERSION = salt['pillar.get']('global:soversion') %}
{% set IMAGEREPO = salt['pillar.get']('global:imagerepo') %}
{% import_yaml 'influxdb/defaults.yaml' as default_settings %}
{% set influxdb = salt['grains.filter_by'](default_settings, default='influxdb', merge=salt['pillar.get']('influxdb', {})) %}

View File

@@ -0,0 +1,16 @@
influxdb:
retention_policies:
so_short_term:
duration: 30d
description: Amount of time to keep short term data.
shard_duration: 1d
description: Time range
so_long_term:
duration: 0d
description: Amount of time to keep long term downsampled data.
shard_duration: 7d
description: Amount of the time range covered by the shard group.
downsample:
so_long_term:
resolution: 5m
description: Amount of time to turn into a single data point.