All Projects → dashbitco → broadway_dashboard

dashbitco / broadway_dashboard

Licence: Apache-2.0 license
Keep track of your Broadway pipelines from Phoenix LiveDashboard

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to broadway dashboard

uncharted
No description or website provided.
Stars: ✭ 31 (-79.74%)
Mutual labels:  phoenix
pinterest-backend
Pinterest Clone Backend in Phoenix Framework
Stars: ✭ 19 (-87.58%)
Mutual labels:  phoenix
games
create-with-games.herokuapp.com
Stars: ✭ 17 (-88.89%)
Mutual labels:  phoenix
querie
Compose Ecto query from the client side
Stars: ✭ 20 (-86.93%)
Mutual labels:  phoenix
phoenix-react-apollo-demo
Example app using the Phoenix Framework with React and GraphQL
Stars: ✭ 37 (-75.82%)
Mutual labels:  phoenix
artemis platform
Enterprise Ready Patterns for Elixir and Phoenix
Stars: ✭ 17 (-88.89%)
Mutual labels:  phoenix
phoenix pagination
Simple pagination for Ecto and Phoenix that uses plain EEx templates.
Stars: ✭ 20 (-86.93%)
Mutual labels:  phoenix
contextual
🌈 Generate your Ecto contexts using this macro and eliminate boilerplate
Stars: ✭ 18 (-88.24%)
Mutual labels:  phoenix
elixir-auth-google-demo
⭐️ A basic example of using Google Auth in a Phoenix App.
Stars: ✭ 15 (-90.2%)
Mutual labels:  phoenix
live deck
A Real-Time Presentation Application Powered by Phoenix LiveView
Stars: ✭ 71 (-53.59%)
Mutual labels:  phoenix
ecto profiler
Project for Ecto DB profiling
Stars: ✭ 16 (-89.54%)
Mutual labels:  phoenix
dotfiles
💾 dotfiles for macOS - includes zsh, hyper key, Karabiner, and Phoenix configurations. Installation via dotbot.
Stars: ✭ 41 (-73.2%)
Mutual labels:  phoenix
multipong
A multiplayer Pong game using Elm, Phoenix and GenServer
Stars: ✭ 15 (-90.2%)
Mutual labels:  phoenix
phoenix html simplified helpers
Some helpers for phoenix html( truncate, time_ago_in_words, number_with_delimiter, url_for, current_page? )
Stars: ✭ 29 (-81.05%)
Mutual labels:  phoenix
embedchat
A growth hacking service that you can live chat with visitors on your website
Stars: ✭ 23 (-84.97%)
Mutual labels:  phoenix
phoenix.webui.framework
基于WebDriver的WebUI自动化测试框架
Stars: ✭ 118 (-22.88%)
Mutual labels:  phoenix
pan
The podcast showcase & community / Phoenix based web application
Stars: ✭ 31 (-79.74%)
Mutual labels:  phoenix
bouncer
Token-based authorization and session management for Phoenix (Elixir)
Stars: ✭ 27 (-82.35%)
Mutual labels:  phoenix
prometheus-phoenix
Prometheus.io Phoenix instrumenter
Stars: ✭ 66 (-56.86%)
Mutual labels:  phoenix
phoenix-liveview-15m.twitter
Based on the "real-time Twitter clone in 15 minutes with LiveView and Phoenix", from Chris McCord
Stars: ✭ 40 (-73.86%)
Mutual labels:  phoenix

Broadway Dashboard

Online documentation

BroadwayDashboard is a tool to analyze Broadway pipelines. It provides some insights about performance and errors for your running pipelines.

It works as an additional page for the Phoenix LiveDashboard.

You can inspect pipelines on remote nodes that are not running BroadwayDashboard too. See Distribution for details.

Broadway Dashboard

Integration with Phoenix LiveDashboard

You can add this page to your Phoenix LiveDashboard by adding as a page in the live_dashboard macro at your router file.

live_dashboard "/dashboard",
  additional_pages: [
    broadway: {BroadwayDashboard, pipelines: [MyBroadway]}
  ]

The :pipelines option accept pipeline names (the :name option of your Broadway). By omitting the :pipelines option, BroadwayDashboard will try to autodiscover your pipelines.

live_dashboard "/dashboard",
  additional_pages: [
    broadway: BroadwayDashboard
  ]

Once configured, you will be able to access the BroadwayDashboard at /dashboard/broadway.

Using from the command line with PLDS

It's possible to use Broadway Dashboard without having to install it on your application. PLDS stands for Phoenix LiveDashboard Standalone and it's a CLI version of Phoenix LiveDashboard with some tools pre-installed. One of those tools is Broadway Dashboard.

To install PLDS on your machine, you can run:

$ mix escript.install hex plds

Then connect to your running node with:

$ plds server --connect mynode --open

For more information about the usage, please check the PLDS documentation.

Distribution

Phoenix LiveDashboard works with distribution out of the box, and it's not different with Broadway Dashboard! You can inspect your pipelines that are running on connected nodes.

You can also inspect pipelines from nodes that are not running the same system of your dashboard. This is possible because we "copy" the essential parts of this tool to the remote node when it's not running BroadwayDashboard. We stop the tracking once the node that started it is disconnected.

Installation

Add the following to your mix.exs and run mix deps.get:

def deps do
  [
    {:broadway_dashboard, "~> 0.2.0"}
  ]
end

After that, proceed with instructions described in Integration with Phoenix LiveDashboard above.

Acknowledgment

This project is based on Marlus Saraiva's work from his presentation at ElixirConf 2019.

In that talk he presented a graph showing the work of a Broadway pipeline, which is essentially the same we display in this project. Thank you, Marlus! <3

License

Copyright 2021 Dashbit

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].