pms_md 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,80 +1,80 @@
1
- {
2
- "name": "@projectmd/node-monitor",
3
- "version": "1.0.2",
4
- "description": "Comprehensive monitoring solution for Node.js applications with error tracking, health checks, and multi-channel notifications",
5
- "main": "src/index.js",
6
- "scripts": {
7
- "test": "jest",
8
- "start": "node examples/express-app.js",
9
- "prepublishOnly": "echo 'Running pre-publish checks...'",
10
- "version": "echo 'Version updated'"
11
- },
12
- "keywords": [
13
- "monitoring",
14
- "health-check",
15
- "error-tracking",
16
- "notifications",
17
- "alerts",
18
- "nodejs",
19
- "express",
20
- "logging",
21
- "winston",
22
- "error-handler",
23
- "health-monitoring",
24
- "system-monitoring",
25
- "email-notifications",
26
- "slack-notifications"
27
- ],
28
- "author": "ProjectMD",
29
- "license": "MIT",
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/projectmd/node-monitor.git"
33
- },
34
- "bugs": {
35
- "url": "https://github.com/projectmd/node-monitor/issues"
36
- },
37
- "homepage": "https://github.com/projectmd/node-monitor#readme",
38
- "dependencies": {
39
- "winston": "^3.11.0",
40
- "winston-daily-rotate-file": "^4.7.1",
41
- "nodemailer": "^6.9.7",
42
- "@slack/webhook": "^7.0.2",
43
- "axios": "^1.6.2",
44
- "node-cron": "^3.0.3"
45
- },
46
- "peerDependencies": {
47
- "express": "^4.18.0 || ^5.0.0",
48
- "mongoose": "^7.0.0 || ^8.0.0",
49
- "pg": "^8.11.0",
50
- "mysql2": "^2.0.0 || ^3.0.0",
51
- "sequelize": "^6.0.0",
52
- "ioredis": "^5.3.0"
53
- },
54
- "peerDependenciesMeta": {
55
- "express": {
56
- "optional": true
57
- },
58
- "mongoose": {
59
- "optional": true
60
- },
61
- "pg": {
62
- "optional": true
63
- },
64
- "mysql2": {
65
- "optional": true
66
- },
67
- "sequelize": {
68
- "optional": true
69
- },
70
- "ioredis": {
71
- "optional": true
72
- }
73
- },
74
- "devDependencies": {
75
- "jest": "^29.7.0"
76
- },
77
- "engines": {
78
- "node": ">=14.0.0"
79
- }
1
+ {
2
+ "name": "@projectmd/node-monitor",
3
+ "version": "1.0.3",
4
+ "description": "Comprehensive monitoring solution for Node.js applications with error tracking, health checks, and multi-channel notifications",
5
+ "main": "src/index.js",
6
+ "scripts": {
7
+ "test": "jest",
8
+ "start": "node examples/express-app.js",
9
+ "prepublishOnly": "echo 'Running pre-publish checks...'",
10
+ "version": "echo 'Version updated'"
11
+ },
12
+ "keywords": [
13
+ "monitoring",
14
+ "health-check",
15
+ "error-tracking",
16
+ "notifications",
17
+ "alerts",
18
+ "nodejs",
19
+ "express",
20
+ "logging",
21
+ "winston",
22
+ "error-handler",
23
+ "health-monitoring",
24
+ "system-monitoring",
25
+ "email-notifications",
26
+ "slack-notifications"
27
+ ],
28
+ "author": "ProjectMD",
29
+ "license": "MIT",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/projectmd/node-monitor.git"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/projectmd/node-monitor/issues"
36
+ },
37
+ "homepage": "https://github.com/projectmd/node-monitor#readme",
38
+ "dependencies": {
39
+ "winston": "^3.11.0",
40
+ "winston-daily-rotate-file": "^4.7.1",
41
+ "nodemailer": "^6.9.7",
42
+ "@slack/webhook": "^7.0.2",
43
+ "axios": "^1.6.2",
44
+ "node-cron": "^3.0.3"
45
+ },
46
+ "peerDependencies": {
47
+ "express": "^4.18.0 || ^5.0.0",
48
+ "mongoose": "^7.0.0 || ^8.0.0",
49
+ "pg": "^8.11.0",
50
+ "mysql2": "^2.0.0 || ^3.0.0",
51
+ "sequelize": "^6.0.0",
52
+ "ioredis": "^5.3.0"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "express": {
56
+ "optional": true
57
+ },
58
+ "mongoose": {
59
+ "optional": true
60
+ },
61
+ "pg": {
62
+ "optional": true
63
+ },
64
+ "mysql2": {
65
+ "optional": true
66
+ },
67
+ "sequelize": {
68
+ "optional": true
69
+ },
70
+ "ioredis": {
71
+ "optional": true
72
+ }
73
+ },
74
+ "devDependencies": {
75
+ "jest": "^29.7.0"
76
+ },
77
+ "engines": {
78
+ "node": ">=14.0.0"
79
+ }
80
80
  }
@@ -158,6 +158,7 @@ class NodeMonitor {
158
158
  getStatus() {
159
159
  return {
160
160
  isRunning: this.isStarted,
161
+ environment: this.config.get('app.environment'),
161
162
  health: this.serverHealthMonitor.getStatus(),
162
163
  system: this.systemResourceMonitor.getCurrentMetrics(),
163
164
  databases: this.dbConnectionMonitor.getStatus(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pms_md",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Comprehensive monitoring solution for Node.js applications with error tracking, health checks, multi-database support (MongoDB, PostgreSQL, MySQL, MSSQL, SQLite, Redis, Cassandra, Elasticsearch, DynamoDB, Neo4j, CouchDB), and multi-channel notifications",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -56,7 +56,7 @@
56
56
  "aws-sdk": "^2.0.0",
57
57
  "better-sqlite3": "^8.0.0 || ^9.0.0",
58
58
  "cassandra-driver": "^4.0.0",
59
- "express": "^5.2.1",
59
+ "express": "^4.18.0 || ^5.0.0",
60
60
  "ioredis": "^5.0.0",
61
61
  "mariadb": "^3.0.0",
62
62
  "mongoose": "^7.0.0 || ^8.0.0",