Events

June 4, 2020 · View on GitHub

SlimIO - Events (Built-in Addon). Events is the heart of SlimIO, this addon handle all kinds of events (Alarms, Metrics, etc..).

Getting Started

This package is available in the SlimIO Package Registry and can be easily installed with SlimIO CLI.

$ slimio --add events
# or
$ slimio --add https://github.com/SlimIO/Events

Note: this addon is automatically installed with the slimio init command.

Events Kinds

TypeDescription
AlarmN/A
MetricsN/A
ErrorAn error that has occured somewhere in the product (they are useful for fire hunting)
LogN/A
Entity (CI)A SlimIO Entity is like a Configuration Item
MICMIC mean Metric Identity Card. It contain everything about a given metric (type, description etc..)

Dependencies

NameRefactoringSecurity RiskUsage
@lukeed/uuidMinorLowA tiny (230B), fast, and cryptographically secure UUID (v4) generator
@slimio/addonMinorLowAddon default class
@slimio/isMinorLowType checker
@slimio/queueMinorLowQueue system
@slimio/sqlite-transactionMinorHighManage transaction for SQLite
@slimio/utilsMinorLowBunch of useful functions
sqlite⚠️MajorHighA wrapper library written in Typescript with ZERO dependencies that adds ES6 promises and SQL-based migrations API to sqlite3 (docs).
sqlite3MinorHighSqlite3 Driver for Node.js

Licence

MIT