Overview
Ce paquet permet d'écrire les compteurs et les alarmes dans Palladium.
Installation
npm install suppervison-palladium
Basic Usage
const Supervision = ; // Declare ELK serverconst elkServer = 'http://localhost:9200'; // Declare MongoDB serverconst mongoServer = 'mongodb://localhost:27017'; // Create new objectconst supv = elkServer mongoServer; // Anonymous function, to use the 'await' or you can call the init() function// at the itialization phase of your applicationasync { const cpt205 = 'id': 205 'eec': 841 'val': 514 'date': '2021/10/14 12:03:39'; await supv; supv; };