Git Product home page Git Product logo

auaicn / opentosca-instance-monitor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 27.49 MB

Monitoring function for OpenTOSCA users. you will able to see docker-container metrics along with deployed application's topology. API server internally parses static logs from OpenTOSCA components.

Python 0.63% HTML 0.35% JavaScript 95.95% Kotlin 0.01% Swift 0.02% Objective-C 0.01% Dart 2.92% Shell 0.02% Ruby 0.06% Dockerfile 0.04%
docker flutter django docker-comp python-http-server opentosca-ecosystem opentosca

opentosca-instance-monitor's Introduction

OpenTOSCA instance monitor

project to serve monitoring function to OpenTOSCA users. API server internally parses static logs from OpenTOSCA components (IA-Engine, Container (not docker-container. name for OpenTOSCA runtime) and send needed informations (Application Topology, installed CSARs and their instances, docker-container within specific instances) to Web Client built by Flutter SDK. Web Client has module named MetricsProvider where docker-container-id is registered and their metrics are managed.

this project is developed using

  • flutter SDK v2.5.3 (to make website)
  • django (to make RESTful API server)

System Overview

system_architecture

Preview

ui

Features

  • show installed ServiceTemplates' topologies
  • realtime docker container metrics within OpenTOSCA instance
  • able to select metrics to watch

Prerequisites

First, you has to be able to execute OpenTOSCA itself.
you may reference how to use opentosca at OpenTOSCA-docker

Some pre-work exist to run this system
host docker engine

  1. has to open external port (ex. 2200)
  2. docker engine has to allow CORS policy

you may achieve docker engine setting with below scripts

sudo dockerd -H 0.0.0.0:2220 --api-cors-header=* -H unix:///var/run/docker.sock &

How to Start

copy from _.env file and adjust ${PUBLIC_HOSTNAME} into your server's public or private IP address
then run (you may need to run this command as root-user)

docker compose up

limitations

for now,

  • metrics panel are showing only recent 8 datas
  • unable to show another NodeType's metrics except docker-container domain knowledge about each NodeType will be needed

opentosca-instance-monitor's People

Contributors

auaicn avatar gnusho avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gnusho-school

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.