90613635fb
merge: updates from upstream
...
continuous-integration/drone/pr Build is passing
Conflicts:
.gitignore
lib/wabanex/application.ex
mix.lock
2024-09-22 19:06:02 +00:00
9be7566cbb
feat: execute service as distributed erlang ( #96 )
...
continuous-integration/drone/push Build is passing
To create a cluster with distributed nodes, the following changes were made:
* Use [`dns_cluster`][0] to execute distributed nodes
* Add _script_ to execute distributed nodes locally
Also, improve local execution by:
* Use [`mix release`][1] to make easier [deploy `phoenix`][2]
* Use [`compose watch`][3] to synchronize code from the host with the service
Some minor improvements:
* Ignore files and folders in git and docker
* Remove boilerplate comments
[0]: https://github.com/phoenixframework/dns_cluster
[1]: https://hexdocs.pm/mix/Mix.Tasks.Release.html
[2]: https://hexdocs.pm/phoenix/releases.html
[3]: https://docs.docker.com/compose/how-tos/file-watch/
Co-authored-by: Joao P Dubas <joao.dubas@gmail.com >
Reviewed-on: #96
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com >
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com >
2024-09-22 18:56:27 +00:00
b415b38184
feat(growth): load data on application start
...
To make this possible, the following changes were made:
* Use `Task` to start the load process
* Create `ets` table before start the async task
* This is needed to keep the tables alive after the task process exits
* Adjust the application to start the `Growth.Indicators.Load` task
2024-06-10 12:11:18 +00:00
34c3a3e4c2
feat: expose system metrics ( #4 )
...
Use prom_ex to expose system metrics to prometheus and create dashboards.
Co-authored-by: Joao P Dubas <joao.dubas@gmail.com >
Reviewed-on: #4
2022-05-03 16:19:39 +00:00
Joao P Dubas
8658384030
[day-01] phoenix project setup
...
Create new phoenix project
2021-06-22 01:55:16 +00:00