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)
- show installed ServiceTemplates' topologies
- realtime docker container metrics within OpenTOSCA instance
- able to select metrics to watch
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
- has to open external port (ex. 2200)
- 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 &
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
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