Skip to content

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.

Notifications You must be signed in to change notification settings

auaicn/OpenTOSCA-instance-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published