#Good Morning All I have installed
1 messages · Page 1 of 1 (latest)
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?
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.
ok
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
@nimble perch Do you see flag --storage.tsdb.retention.time reflected correctly now?
I have added the retention now and the port 9090 is not allow on the system I access it. I will update you soon
line 27 still there? if so, docker should create the port mapping for you
hmm that mapping is there in the tmpl and will be there when using the generate command. perhaps someone removed it later? https://github.com/NetApp/harvest/blob/6b45932126e074adbbf5f12003e37bf9e35cefec/prom-stack.tmpl#L26