Skip to content

Commit

Permalink
Add profiling tools
Browse files Browse the repository at this point in the history
  • Loading branch information
meequrox committed May 10, 2024
1 parent b538fd7 commit 73bb90d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
8 changes: 1 addition & 7 deletions compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ services:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
DGM_POSTGRES_HOSTNAME: "${DGM_POSTGRES_HOSTNAME}"
DGM_POSTGRES_PORT: "${DGM_POSTGRES_PORT}"
RELEASE_COOKIE: "${RELEASE_COOKIE}"
volumes:
- ./log:/double_gis_monitor/log
networks:
- backend
depends_on:
double_gis_monitor-db:
condition: service_healthy
Expand All @@ -35,15 +34,10 @@ services:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
volumes:
- ./db:/var/lib/postgresql/data
networks:
- backend
ports:
- 5432
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5

networks:
backend:
4 changes: 3 additions & 1 deletion compose/example.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# For a description, see config/runtime.exs file.
RELEASE_COOKIE="448a225a-1ed4-4ea4-9c82-4d494f1259d5"

# For a description to variables below, see config/runtime.exs file.

# Project DATABASE configuration
POSTGRES_DB="double_gis_monitor_repo"
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ defmodule DoubleGisMonitor.MixProject do
{:time_zone_info, "~> 0.7.2"},
{:telegex, "~> 1.7"},
{:logger_file_backend, "~> 0.0.14"},
{:observer_cli, "~> 1.7"},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
Expand Down
2 changes: 2 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
"mimerl": {:hex, :mimerl, "1.3.0", "d0cd9fc04b9061f82490f6581e0128379830e78535e017f7780f37fea7545726", [:rebar3], [], "hexpm", "a1e15a50d1887217de95f0b9b0793e32853f7c258a5cd227650889b38839fe9d"},
"nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"},
"observer_cli": {:hex, :observer_cli, "1.7.4", "3c1bfb6d91bf68f6a3d15f46ae20da0f7740d363ee5bc041191ce8722a6c4fae", [:mix, :rebar3], [{:recon, "~> 2.5.1", [hex: :recon, repo: "hexpm", optional: false]}], "hexpm", "50de6d95d814f447458bd5d72666a74624eddb0ef98bdcee61a0153aae0865ff"},
"parse_trans": {:hex, :parse_trans, "3.4.1", "6e6aa8167cb44cc8f39441d05193be6e6f4e7c2946cb2759f015f8c56b76e5ff", [:rebar3], [], "hexpm", "620a406ce75dada827b82e453c19cf06776be266f5a67cff34e1ef2cbb60e49a"},
"postgrex": {:hex, :postgrex, "0.17.5", "0483d054938a8dc069b21bdd636bf56c487404c241ce6c319c1f43588246b281", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "50b8b11afbb2c4095a3ba675b4f055c416d0f3d7de6633a595fc131a828a67eb"},
"recon": {:hex, :recon, "2.5.5", "c108a4c406fa301a529151a3bb53158cadc4064ec0c5f99b03ddb8c0e4281bdf", [:mix, :rebar3], [], "hexpm", "632a6f447df7ccc1a4a10bdcfce71514412b16660fe59deca0fcf0aa3c054404"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"},
"telegex": {:hex, :telegex, "1.7.0", "82e5bda6ba9ad1106068cbc8b0f258aa2e517ba77d38ad308f2ff08881789d19", [:mix], [{:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:typed_struct, "~> 0.3.0", [hex: :typed_struct, repo: "hexpm", optional: false]}], "hexpm", "070c5f35df6da8b51024f867a330ceeda7b5553b6035830b4f063522014e1dbd"},
"telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
Expand Down

0 comments on commit 73bb90d

Please sign in to comment.