Coder Social home page Coder Social logo

eventstore-dashboard's Introduction

EventStore Dashboard

EventStore Dashboard is a tool to analyze EventStore databases. It provides access to events, streams, snapshots, and subscriptions.

It works as an additional page for the Phoenix LiveDashboard.

eventstore-dashboard-streams

eventstore-dashboard-stream-events

eventstore-dashboard-event

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: [
    eventstores: {EventStore.Dashboard, event_stores: [MyEventStore]}
  ]

The :event_stores option accept event store names (the :name option of your EventStore). By omitting the :event_stores option, EventStore Dashboard will try to auto discover your event stores.

live_dashboard "/dashboard",
  additional_pages: [
    eventstores: EventStore.Dashboard
  ]

Once configured, you will be able to access the EventStore Dashboard at /dashboard/eventstore.

Installation

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

def deps do
  [
    {:eventstore_dashboard, github: "commanded/eventstore-dashboard"}
  ]
end

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

Known limitations

  • Dynamic event stores are not currently supported.
  • Subscriptions and snapshots have not yet been implemented.

Contributing

For those planning to contribute to this project, you can run a dev version of the dashboard with the following commands:

$ mix setup
$ mix dev

Alternatively, run iex -S mix dev [flags] if you also want a shell.

Acknowledgment

This project is based on the Broadway Dashboard tool which is used to analyse Broadway pipelines. Thank you to the entire Dashbit team for their inspiration! It also builds upon the excellent Phoenix LiveDashboard project, thank you to the Phoenix framework team.

eventstore-dashboard's People

Contributors

slashdotdash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

eventstore-dashboard's Issues

Dependency issue

Hi,

Thx for the great work.
Does this project is still maintain?
It would be nice if you could add a tag or branch allowing compatibility with the current release of eventstore.
I mean, replacing in mix.exs: {:eventstore, github: "commanded/eventstore"} with {:eventstore, ">= 1.4.0"}

Thx

Add support for listing subscriptions

Support listing event store subscriptions.

It would be useful to be able to include any processes connected to each subscription with a link to view the process via its PID. This should already be supported by Phoenix LiveDashboard.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.