#Good Morning All I have installed

1 messages · Page 1 of 1 (latest)

gray shale
#

hi @nimble perch that looks right. How are you starting Harvest via compose and what file did you add the Prometheus retention cmdline args to? What does http://localhost:9090/flags show for --storage.tsdb.retention.time?

nimble perch
#

docker-compose -f prom-stack.yml -f harvest-compose.yml restart

#

this command

brave zinc
#

you should remove the containers first for applying any env variable change. Restart will start stopped containers (with older env) and env changes will not reflect.

nimble perch
#

ok

gray shale
#

here's one way you can do that
docker stop prometheus docker container rm prometheus docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans prometheus

brave zinc
#

@nimble perch Do you see flag --storage.tsdb.retention.time reflected correctly now?

nimble perch
#

I have added the retention now and the port 9090 is not allow on the system I access it. I will update you soon

gray shale
#

line 27 still there? if so, docker should create the port mapping for you

nimble perch
#

no

#

I think I have to add it

gray shale
nimble perch
#

its added, the VM instance is in AWS and port needs to be opened

#

I will update you once the port is allowed

nimble perch
#

I could see the flag --storage.tsdb.retention.time 184d

#

thanks for your help