Currently the Prometheus and Pushgateway process inherit the working directory of the am binary. Prometheus will create some files there for its storage. It would be better if we move that into $PWD/.autometrics/{prometheus,pushgateway} (not sure if it needs to be scoped to version as well). That way we can also create command to clean it up.
Another things related to this would be a --ephemeral flag which will delete the data after am shutsdown.
Currently the Prometheus and Pushgateway process inherit the working directory of the
am
binary. Prometheus will create some files there for its storage. It would be better if we move that into$PWD/.autometrics/{prometheus,pushgateway}
(not sure if it needs to be scoped to version as well). That way we can also create command to clean it up.Another things related to this would be a
--ephemeral
flag which will delete the data afteram
shutsdown.