GithubHelp home page GithubHelp logo

roukien / rundeck-activity-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 596 KB

A small app to monitor rundeck executions across multiple rundeck instances

Dockerfile 1.35% Makefile 0.21% Go 50.10% HTML 1.38% JavaScript 46.97%
golang o11y react rundeck

rundeck-activity-monitor's Introduction

Rundeck Activity Monitor (RAM)

RAM is a tool to monitor rundeck jobs executions across multiple rundeck instances. It is composed of two main components: a scraper and a UI.

The scraper is in charge of requesting the different rundeck instances to get the execution history, and the UI is rendering the executions across all instances in a swimlane chart.

Documentation / Usage ๐Ÿ“

Documentation is available at https://roukien.github.io/rundeck-activity-monitor/

Contributing

Building RAM

  1. build the frontend app (which is basically a react SPA)
  2. build the backend app and embedd the frontend inside it

Running locally

  1. Start the postgresql container (it is recommanded to run the one described in the docker-compose.yml file)
  2. Ensure the schema is up to date by running cd backend && go run ram.go database update
  3. Start developping
  4. optionnally start the UI cd frontend && npm run dev (requires you to run the backend server: go run ram.go serve)

rundeck-activity-monitor's People

Contributors

dependabot[bot] avatar roukien avatar

Watchers

 avatar

rundeck-activity-monitor's Issues

Persist Search params in URL

Ensure the search params are kept in the query string so that any user may share a link that will perform the same search on the app.

Supported search params:

  • instances
  • projects
  • statuses

Scraping improvement

Some refactoring to have a better scraping process:

  • Better usage of SQL prepared statements when inserting
  • Rework of rundeck clients to receive a chanel and directly push retrieved executions in that chanel

Have some docs

Build a documentation that allows newcomers to perform the following actions:

Administration guide

  • Getting started
  • Configuring a Rundeck instance for scraping
  • Configuring multiple instances
  • Configuring the scraper
  • Starting the server

Contributing guide

  • starting the app

Manage Rundeck timezones

When scraping the executions, we retrieves the executions history by considering the rundeck Timestamps. Those may be not the same than the one of the user.

scrape daemon

Allow the scrape command to run as a long term process.

Basically by adding a --scrape-interval option that would trigger a scrape every 1h

New option to scrape execution from the past X hours

Right now it is not possible as there is a mandatory begin and end option to scrape jobs.

The idea would be to scrape jobs from the last X hours so that this command could be used when we want to automate scraping.

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.