Architecture
There are three GitHub repos each with a specific codebase that comprise the Centurion ecosystem.
- centurionV2-vue: The front-end application build with Vue. Display metrics important to admins in support of Opsgenie alerts.
- centurionV2-nodejs: Contains REST endpoints for the frontend and runs the history worker.
- centurionV2-workers: Updates the database with on-chain data and data from other external sources. The frontend does not touch this codebase.
The three repos interact with external resources provided by several vendors.
- Digital Ocean: Postgres database that maintains short-term historical data for workers.
- Heroku: Hosting for
centuronV2-workersandcenturionV2-nodejsrepos. - Loki: Granfana logging.
- Opsgenie: Alerts fired by workers in response to conditions that require attention.
Workers
Workers are the backbone of the Centurion ecosystem. They gather, store, and analyze data. Most workers are found in the centuronV2-workers repo. There is one worker in the centurionV2-nodejs repo.