Code Monkey home page Code Monkey logo

kepaso's Introduction

KEPASO

Build Java Quarkus Flutter License

Small and easy-to-use Dashboard for CloudEvents.

Monitoring

Requirements

  • User should be able to POST data is JSON CloudEvent format
  • User should be able to observe data as a Chart
  • User should be able to start application in Docker container

Architecture

Architecture

  • UI - Flutter-based web interface
  • Backend Quarkus-based application

Install

Pull docker image from DockerHub

docker pull kepaso/kepaso

Build

Requires Git and Docker installed.

git clone [email protected]:mgubaidullin/kepaso.git
docker build -t kepaso/kepaso .

Run

Application start

docker run -p 8080:8080 kepaso/kepaso
open http://localhost:8080

Post cloudevent to http://host:port/events

{
    "specversion": "1.0",
    "type": "com.example.someeventX",
    "source": "/some-source",
    "id": "C234-1234-1232",
    "time": "2018-04-05T17:31:00Z",
    "datacontenttype": "application/json",
    "data": {
        "appinfoA": 123,
        "appinfoB": 456,
        "appinfoC": 789
    }
}

Command-line demo:

curl -X POST "http://0.0.0.0:8080/events" -H  "accept: application/json" -H  "Content-Type: application/json" -d '{"specversion" : "1.0","type" : "com.example.someevent","source" : "/mycontext1","id" : "C234-1234-1232","time" : "2018-04-05T17:31:00Z","datacontenttype" : "application/json","data" : {"value" : 1220,"appinfoB" : 1,"appinfoC" : 500}}'

UI demo (click "Start demo" button):

Intro

Enjoy your dashboard!


Performance

Startup time

kepaso 1.0.0 native (powered by Quarkus 1.7.3.Final) started in 0.039s.

Container size

REPOSITORY                 IMAGE ID            CREATED             SIZE
kepaso/kepaso              35e7dda20516        16 minutes ago      61.2MB

Memory usage after start

CONTAINER ID        NAME                CPU %               MEM USAGE 
5f77fd99167d        kepaso              0.01%               5.488MiB

Memory usage while processing 1000s of events processed

CONTAINER ID        NAME                CPU %               MEM USAGE 
5f77fd99167d        kepaso              12.43%              21.03MiB

kepaso's People

Contributors

mgubaidullin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.