mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-15 07:32:42 +00:00
Add wobserver
This commit is contained in:
parent
645d6b458d
commit
7a0dbc7536
|
@ -406,6 +406,16 @@ Caddyserver and other servers can handle generating and setting up HTTPS certifi
|
|||
|
||||
If you've built from source, you should point the nginx root directory to be `_build/prod/rel/bonfire/lib/bonfire-0.1.0-*/priv/static`
|
||||
|
||||
|
||||
## Admin tools
|
||||
|
||||
- LiveDashboard for viewing real-time metrics and logs at `/admin/system/`
|
||||
- Oban logs for viewing queued jobs (e.g. for processing federated activities) `/admin/system/oban_queues`
|
||||
- LiveAdmin for browsing data in the database at `/admin/system/data`
|
||||
- Orion for dynamic distributed performance profiling at `/admin/system/orion`
|
||||
- Web Observer as an alternative way to view metrics at `/admin/system/wobserver`
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Some common issues that may arise during deployment and our suggestions for resolving them.
|
||||
|
|
|
@ -171,6 +171,10 @@ config :os_mon,
|
|||
disk_almost_full_threshold: 0.85,
|
||||
start_cpu_sup: false
|
||||
|
||||
config :wobserver,
|
||||
mode: :plug,
|
||||
remote_url_prefix: "/admin/system/wobserver"
|
||||
|
||||
config :sentry,
|
||||
# dsn: "this-should-be-set-in-env-and-loaded-in-runtime.exs",
|
||||
environment_name: Mix.env(),
|
||||
|
|
|
@ -10,12 +10,16 @@ live_view_native = "~> 0.1"
|
|||
live_view_native_swift_ui = "~> 0.1"
|
||||
# phoenix_html = "~> 3.3.0" # note: usually we should let bonfire_ui_common control this
|
||||
phoenix_view = "~> 2.0" # should match phx/lv - dunno why isn't upgraded otherwise
|
||||
phoenix_live_dashboard = "~> 0.8.0"
|
||||
plug_cowboy = "~> 2.6" # should match the version in phoenix's mix.exs
|
||||
cowboy = "~> 2.10" # should match the version used in plug_cowboy
|
||||
# gettext = "<= 0.21.0" # note: usually we should let bonfire_ui_common control this
|
||||
bandit = ">= 0.6.3" # alternative to Cowboy web server
|
||||
orion = "~> 1.0" # tracing with web UI (at /admin/system/orion)
|
||||
|
||||
# admin tools
|
||||
phoenix_live_dashboard = "~> 0.8.0"
|
||||
live_admin = "~> 0.9.0"
|
||||
wobserver_ng = "~> 1.14"
|
||||
|
||||
# DB
|
||||
ecto_sql = "~> 3.8"
|
||||
|
|
8
mix.lock
8
mix.lock
|
@ -41,11 +41,11 @@
|
|||
"bonfire_me": {:git, "https://github.com/bonfire-networks/bonfire_me", "cbf2f2f70954dfe9409c73709575761a8052a2af", [branch: "main"]},
|
||||
"bonfire_open_id": {:git, "https://github.com/bonfire-networks/bonfire_open_id", "e6137ab3ca827cbf2fe31f7c569566e0d1babb92", [branch: "main"]},
|
||||
"bonfire_pages": {:git, "https://github.com/bonfire-networks/bonfire_pages", "34b76fc1778c2a1a7d0c62794329c60cb2b3981d", [branch: "main"]},
|
||||
"bonfire_search": {:git, "https://github.com/bonfire-networks/bonfire_search", "4328e49d4094c3d14e735e36f464fba67df1ab66", [branch: "main"]},
|
||||
"bonfire_search": {:git, "https://github.com/bonfire-networks/bonfire_search", "e839494af24f4c3f50afbfbc68d6a8d7068c3843", [branch: "main"]},
|
||||
"bonfire_social": {:git, "https://github.com/bonfire-networks/bonfire_social", "ca0cdab00f7b6c9c29c34401b963d923f15ca399", [branch: "main"]},
|
||||
"bonfire_tag": {:git, "https://github.com/bonfire-networks/bonfire_tag", "713b36ead52a681f6a130249858ab79344f7cd8a", [branch: "main"]},
|
||||
"bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "8f5d97a797dbb57e4e1e7e318ab28316f2b45eed", [branch: "main"]},
|
||||
"bonfire_ui_me": {:git, "https://github.com/bonfire-networks/bonfire_ui_me", "16e0556261052b149a0c2ee8a2da126797d50ff0", [branch: "main"]},
|
||||
"bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "ec100cf5aec6e9867ccbdc12d84e496ef8a867e4", [branch: "main"]},
|
||||
"bonfire_ui_me": {:git, "https://github.com/bonfire-networks/bonfire_ui_me", "6deabfdd03de47400f23221076aa2a39d1ec5b42", [branch: "main"]},
|
||||
"bonfire_ui_social": {:git, "https://github.com/bonfire-networks/bonfire_ui_social", "5ee5982a95e06c18ef9beed7f71e76689cffe193", [branch: "main"]},
|
||||
"boruta": {:hex, :boruta, "2.3.1", "d33535cd84fb6516b67a04b12fa6af16c3480a059b3d7bf38f988410dff8049a", [:mix], [{:ecto_sql, ">= 3.5.2", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ex_json_schema, "~> 0.6", [hex: :ex_json_schema, repo: "hexpm", optional: false]}, {:joken, "~> 2.0", [hex: :joken, repo: "hexpm", optional: false]}, {:jose, "~> 1.11", [hex: :jose, repo: "hexpm", optional: false]}, {:nebulex, "~> 2.0", [hex: :nebulex, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.0", [hex: :phoenix, repo: "hexpm", optional: false]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}, {:postgrex, ">= 0.0.0", [hex: :postgrex, repo: "hexpm", optional: false]}, {:puid, "~> 1.0", [hex: :puid, repo: "hexpm", optional: false]}, {:secure_random, "~> 0.5", [hex: :secure_random, repo: "hexpm", optional: false]}, {:shards, "~> 1.0", [hex: :shards, repo: "hexpm", optional: false]}], "hexpm", "ae06432f70ab8447afc0d64bd404594c0b1452633458ae2377de250ead7bf0d9"},
|
||||
"bunt": {:hex, :bunt, "0.2.1", "e2d4792f7bc0ced7583ab54922808919518d0e57ee162901a16a1b6664ef3b14", [:mix], [], "hexpm", "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"},
|
||||
|
@ -275,6 +275,8 @@
|
|||
"web_driver_client": {:hex, :web_driver_client, "0.2.0", "63b76cd9eb3b0716ec5467a0f8bead73d3d9612e63f7560d21357f03ad86e31a", [:mix], [{:hackney, "~> 1.6", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:tesla, "~> 1.3", [hex: :tesla, repo: "hexpm", optional: false]}], "hexpm", "83cc6092bc3e74926d1c8455f0ce927d5d1d36707b74d9a65e38c084aab0350f"},
|
||||
"websock": {:hex, :websock, "0.5.3", "2f69a6ebe810328555b6fe5c831a851f485e303a7c8ce6c5f675abeb20ebdadc", [:mix], [], "hexpm", "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"},
|
||||
"websock_adapter": {:hex, :websock_adapter, "0.5.4", "7af8408e7ed9d56578539594d1ee7d8461e2dd5c3f57b0f2a5352d610ddde757", [:mix], [{:bandit, ">= 0.6.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.6", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:websock, "~> 0.5", [hex: :websock, repo: "hexpm", optional: false]}], "hexpm", "d2c238c79c52cbe223fcdae22ca0bb5007a735b9e933870e241fce66afb4f4ab"},
|
||||
"websocket_client": {:hex, :websocket_client, "1.5.0", "e825f23c51a867681a222148ed5200cc4a12e4fb5ff0b0b35963e916e2b5766b", [:rebar3], [], "hexpm", "2b9b201cc5c82b9d4e6966ad8e605832eab8f4ddb39f57ac62f34cb208b68de9"},
|
||||
"wobserver_ng": {:hex, :wobserver_ng, "1.14.0", "58576ac7b225668ba2f06fe8620bbf0b8658a379cf0db2e3880c4f4368a1fdd5", [:mix], [{:cowboy, "~> 2.9.0", [hex: :cowboy, repo: "hexpm", optional: false]}, {:httpoison, "~> 0.11", [hex: :httpoison, repo: "hexpm", optional: false]}, {:plug, "~> 1.3", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.6.0", [hex: :plug_cowboy, repo: "hexpm", optional: false]}, {:poison, "~> 2.0 or ~> 3.1", [hex: :poison, repo: "hexpm", optional: false]}, {:websocket_client, "~> 1.2", [hex: :websocket_client, repo: "hexpm", optional: false]}], "hexpm", "911721bf77389173bf99fb0d39aa86a3eb8f49cbdf57a3f856965a28198a0b1d"},
|
||||
"zest": {:hex, :zest, "0.1.2", "ddf3a045ee32c6452b8ac050b22da0b2eceae5aaa7d63163fb09e5fbb925fbbe", [:mix], [], "hexpm", "ebe2d6acf615de286e45846a3d6daf72d7c20f2c5eefada6d8a1729256a3974a"},
|
||||
"zstream": {:hex, :zstream, "0.6.4", "169ce887a443d4163085ee682ab1b0ad38db8fa45e843927b9b431a92f4b7d9e", [:mix], [], "hexpm", "acc6c35b6db9eb2cfe8b85e972cb9dc1b730f8efeb76c5bbe871216fe639d9a1"},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue