Feat/monitoring (#1267) Cloud Version

* feat: add start monitoring remote servers

* reafctor: update

* refactor: update

* refactor: update

* refactor: update

* refactor: update

* refactor: update

* refactor: update

* refactor:

* refactor: add metrics

* feat: add disk monitoring

* refactor: translate to english

* refacotor: add stats

* refactor: remove color

* feat: add log server metrics

* refactor: remove unused deps

* refactor: add origin

* refactor: add logs

* refactor: update

* feat: add series monitoring

* refactor: add system monitoring

* feat: add benchmark to optimize data

* refactor: update fn

* refactor: remove comments

* refactor: update

* refactor: exclude items

* feat: add refresh rate

* feat: add monitoring remote servers

* refactor: update

* refactor: remove unsued volumes

* refactor: update monitoring

* refactor: add more presets

* feat: add container metrics

* feat: add docker monitoring

* refactor: update conversion

* refactor: remove unused code

* refactor: update

* refactor: add docker compose logs

* refactor: add docker cli

* refactor: add install curl

* refactor: add get update

* refactor: add monitoring remote servers

* refactor: add containers config

* feat: add container specification

* refactor: update path

* refactor: add server filter

* refactor: simplify logic

* fix: verify if file exist before get stats

* refactor: update

* refactor: remove unused deps

* test: add test for containers

* refactor: update

* refactor add memory collector

* refactor: update

* refactor: update

* refactor: update

* refactor: remove

* refactor: add memory

* refactor: add server memory usage

* refactor: change memory

* refactor: update

* refactor: update

* refactor: add container metrics

* refactor: comment code

* refactor: mount proc bind

* refactor: change interval with node cron

* refactor: remove opening file

* refactor: use streams

* refactor: remove unused ws

* refactor: disable live when is all

* refactor: add sqlite

* refactor: update

* feat: add golang benchmark

* refactor: update go

* refactor: update dockerfile

* refactor: update db

* refactor: add env

* refactor: separate logic

* refactor: split logic

* refactor: update logs

* refactor: update dockerfile

* refactor: hide .env

* refactor: update

* chore: hide ,.ebnv

* refactor: add end angle

* refactor: update

* refactor: update

* refactor: update

* refactor: update

* refactor: update

* refactor: update monitoring

* refactor: add mount db

* refactor: add metrics and url callback

* refactor: add middleware

* refactor: add threshold property

* feat: add memory and cpu threshold notification

* feat: send notifications to the server

* feat: add metrics for dokploy server

* refactor: add dokploy server to monitoring

* refactor: update methods

* refactor: add admin to useeffect

* refactor: stop monitoring containers if elements are 0

* refactor: cancel request if appName is empty

* refactor: reuse methods

* chore; add feat monitoring

* refactor: set base url

* refactor: adjust monitoring

* refactor: delete migrations

* feat: add columns

* fix: add missing flag

* refactor: add free metrics

* refactor: add paid monitoring

* refactor: update methods

* feat: improve ui

* feat: add container stats

* refactor: add all container metrics

* refactor: add color primary

* refactor: change default rate limiting refresher

* refactor: update retention days

* refactor: use json instead of individual properties

* refactor: lint

* refactor: pass json env

* refactor: update

* refactor: delete

* refactor: update

* refactor: fix types

* refactor: add retention days

* chore: add license

* refactor: create db

* refactor: update path

* refactor: update setup

* refactor: update

* refactor: create files

* refactor: update

* refactor: delete

* refactor: update

* refactor: update token metrics

* fix: typechecks

* refactor: setup web server

* refactor: update error handling and add monitoring

* refactor: add local storage save

* refactor: add spacing

* refactor: update

* refactor: upgrade drizzle

* refactor: delete

* refactor: uppgrade drizzle kit

* refactor: update search with jsonB

* chore: upgrade drizzle

* chore: update packages

* refactor: add missing type

* refactor: add serverType

* refactor: update url

* refactor: update

* refactor: update

* refactor: hide monitoring on self hosted

* refactor: update server

* refactor: update

* refactor: update

* refactor: pin node version
This commit is contained in:
Mauricio Siu
2025-02-02 14:08:06 -06:00
committed by GitHub
parent 8c69d2a085
commit 74a0f5e992
150 changed files with 36173 additions and 11538 deletions
+86 -22
View File
@@ -1,5 +1,5 @@
{
"version": "6",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.application": {
@@ -252,7 +252,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.postgres": {
"name": "postgres",
@@ -393,7 +396,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.user": {
"name": "user",
@@ -529,7 +535,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.admin": {
"name": "admin",
@@ -645,7 +654,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.auth": {
"name": "auth",
@@ -712,7 +724,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.project": {
"name": "project",
@@ -766,7 +781,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.domain": {
"name": "domain",
@@ -848,7 +866,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.mariadb": {
"name": "mariadb",
@@ -995,7 +1016,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.mongo": {
"name": "mongo",
@@ -1130,7 +1154,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.mysql": {
"name": "mysql",
@@ -1277,7 +1304,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.backup": {
"name": "backup",
@@ -1419,7 +1449,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.destination": {
"name": "destination",
@@ -1491,7 +1524,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.deployment": {
"name": "deployment",
@@ -1552,7 +1588,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.mount": {
"name": "mount",
@@ -1720,7 +1759,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.certificate": {
"name": "certificate",
@@ -1774,7 +1816,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.session": {
"name": "session",
@@ -1816,7 +1861,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.redirect": {
"name": "redirect",
@@ -1883,7 +1931,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.security": {
"name": "security",
@@ -1946,7 +1997,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.port": {
"name": "port",
@@ -2000,7 +2054,10 @@
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
"uniqueConstraints": {},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
},
"public.redis": {
"name": "redis",
@@ -2129,7 +2186,10 @@
],
"nullsNotDistinct": false
}
}
},
"policies": {},
"isRLSEnabled": false,
"checkConstraints": {}
}
},
"enums": {
@@ -2234,5 +2294,9 @@
"columns": {}
},
"id": "5a1d3f2b-9c31-4125-9645-015170550b51",
"prevId": "665483bd-5123-4c2b-beef-bfa9b91b9356"
"prevId": "665483bd-5123-4c2b-beef-bfa9b91b9356",
"sequences": {},
"policies": {},
"views": {},
"roles": {}
}