UNPKG

chronos-microservice-debugger

Version:

A microservice health monitor and communication logger

22 lines (21 loc) 314 B
const mongoose = require('mongoose'); mongoose.model('Communication', { currentMicroservice: { type: String, }, targetedEndpoint: { type: String, }, reqType: { type: String, }, resStatus: { type: Number, }, resMessage: { type: String, }, timeSent: { type: Date } })