Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
Allow for influx retention time to be tunable (#2046)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Pankov <[email protected]>
  • Loading branch information
mkpankov authored Jul 4, 2020
1 parent c2dcd1e commit 7f17569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ services:
- INFLUXDB_REPORTING_DISABLED=true
- INFLUXDB_HTTP_BIND_ADDRESS=influxdb:8086
- INFLUXDB_HTTP_LOG_ENABLED=false
- INFLUXDB_IML_STATS_LONG_DURATION
grafana:
image: "imlteam/grafana:6.2.0-dev"
build:
Expand Down Expand Up @@ -387,6 +388,7 @@ services:
- BRANDING
- USE_STRATAGEM
- EXA_VERSION
- INFLUXDB_IML_STATS_LONG_DURATION
deploy:
restart_policy:
condition: on-failure
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

INFLUXDB_IML_STATS_DB = "iml_stats"

INFLUXDB_IML_STATS_LONG_DURATION = "52w"
INFLUXDB_IML_STATS_LONG_DURATION = os.getenv("INFLUXDB_IML_STATS_LONG_DURATION", "52w")

MAILBOX_PROXY_PASS = "http://{}:{}".format(PROXY_HOST, MAILBOX_PORT)

Expand Down

0 comments on commit 7f17569

Please sign in to comment.