{"id":25343752,"url":"https://github.com/j3rn/saturn_phoenix","last_synced_at":"2025-04-08T14:45:02.846Z","repository":{"id":276838073,"uuid":"930468310","full_name":"J3RN/saturn_phoenix","owner":"J3RN","description":"Display Saturn-gathered query statistics in the Phoenix LiveDashboard.","archived":false,"fork":false,"pushed_at":"2025-02-10T17:46:51.000Z","size":1397,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T18:35:05.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/J3RN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-10T17:22:35.000Z","updated_at":"2025-02-10T17:46:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b3eccb9-2d35-43aa-93c8-1879baae5fa9","html_url":"https://github.com/J3RN/saturn_phoenix","commit_stats":null,"previous_names":["j3rn/saturn_phoenix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fsaturn_phoenix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fsaturn_phoenix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fsaturn_phoenix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fsaturn_phoenix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J3RN","download_url":"https://codeload.github.com/J3RN/saturn_phoenix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247866004,"owners_count":21009238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-14T10:58:07.546Z","updated_at":"2025-04-08T14:45:02.825Z","avatar_url":"https://github.com/J3RN.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SaturnPhoenix\n\nDisplay [Saturn]-gathered query statistics in the [Phoenix LiveDashboard].\n\n![video showing the \"Saturn\" page in Phoenix LiveDashboard live-updating with query metrics](saturn_phoenix.gif)\n\n## Installation\n\nFirst, you'll need to [install and configure Saturn]\n\nThe package can be installed by adding `saturn_phoenix` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:saturn_phoenix, git: \"git@github.com:instinctscience/saturn_phoenix\"}\n  ]\nend\n```\n\nNext, you'll need to configure the live dashboard to show the Saturn query page.  In your `router.ex` file, you should have a section that looks like this:\n\n```elixir\n    live_dashboard \"/\",\n      metrics: MyApp.Web.Telemetry,\n      ecto_repos: [MyApp.Repo]\n```\n\nYou'll want to add `saturn: SaturnPhoenix.QueriesPage` to the list after an `additional_pages:`, like so:\n\n```elixir\n    live_dashboard \"/\",\n      metrics: MyApp.Web.Telemetry,\n      ecto_repos: [MyApp.Repo],\n      additional_pages: [\n\t    saturn: SaturnPhoenix.QueriesPage\n      ]\n```\n\nNow when you visit your Live Dashboard, you should see a new \"Saturn\" tab.  Install complete!\n\n[Saturn]: https://github.com/instinctscience/saturn\n[Phoenix LiveDashboard]: https://hexdocs.pm/phoenix_live_dashboard/Phoenix.LiveDashboard.html\n[install and configure Saturn]: https://github.com/instinctscience/saturn#installation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Fsaturn_phoenix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3rn%2Fsaturn_phoenix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Fsaturn_phoenix/lists"}