Skip to content

Created Test-Things Architecture Diagram #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ The protocols you can currently test are:
- MQTT
- Modbus

## How It Works

- External applications —known as WoT Consumer Stacks— send requests to the Things. Traefik, which handles inbound HTTP requests, or an MQTT broker allow them to communicate with the internal services ("Things") in two main methods.
- The primary application services, the "Things" (A, B, C, D) reflect several functionalities like those of a Coffee Machine or Elevator. Every service is specified by a Thing Description (TD), a standardized metadata file that explains the service's capabilities and how to interact with it.
- **Monitoring and Observability:** The system is built up comprehensively for monitoring.
- Promtail collects logs from the services and sends them to Loki, a log aggregation system.
- cAdvisor analyzes and collects overall metrics from docker containers
- Prometheus, a time-series database, stores container performance measurements that cAdvisor gathers.
- Grafana, a central dashboard, shows Loki's logs and Prometheus's metrics to give a whole picture of the system's condition.

![Architecture Diagram](./architecture-diagram.jpg)

## Dependencies

The project has several dependencies. Currently, `JavaScript` and `Python` are used for simulating different devices. Every device has its own dependencies and they should be handled separately. For that reason, `Node.js` is used for JS code, and `poetry` is used for Python code to run the scripts and handle the dependencies.
Expand Down
Binary file added architecture-diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.