mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-29 14:48:47 +00:00
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:
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"id": "1f4eada1-a120-490d-a152-2fc7a81eee7a",
|
||||
"prevId": "8492fecb-69a3-4efb-86b1-7bbc62e1eba8",
|
||||
"version": "6",
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tables": {
|
||||
"public.application": {
|
||||
@@ -562,7 +560,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.postgres": {
|
||||
"name": "postgres",
|
||||
@@ -723,7 +724,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.user": {
|
||||
"name": "user",
|
||||
@@ -880,7 +884,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.admin": {
|
||||
"name": "admin",
|
||||
@@ -1008,7 +1015,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.auth": {
|
||||
"name": "auth",
|
||||
@@ -1106,7 +1116,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.project": {
|
||||
"name": "project",
|
||||
@@ -1167,7 +1180,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.domain": {
|
||||
"name": "domain",
|
||||
@@ -1302,7 +1318,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.mariadb": {
|
||||
"name": "mariadb",
|
||||
@@ -1469,7 +1488,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.mongo": {
|
||||
"name": "mongo",
|
||||
@@ -1631,7 +1653,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.mysql": {
|
||||
"name": "mysql",
|
||||
@@ -1798,7 +1823,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.backup": {
|
||||
"name": "backup",
|
||||
@@ -1941,7 +1969,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.destination": {
|
||||
"name": "destination",
|
||||
@@ -2019,7 +2050,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.deployment": {
|
||||
"name": "deployment",
|
||||
@@ -2157,7 +2191,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.mount": {
|
||||
"name": "mount",
|
||||
@@ -2352,7 +2389,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.certificate": {
|
||||
"name": "certificate",
|
||||
@@ -2445,7 +2485,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.session": {
|
||||
"name": "session",
|
||||
@@ -2487,7 +2530,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.redirect": {
|
||||
"name": "redirect",
|
||||
@@ -2554,7 +2600,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.security": {
|
||||
"name": "security",
|
||||
@@ -2617,7 +2666,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.port": {
|
||||
"name": "port",
|
||||
@@ -2672,7 +2724,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.redis": {
|
||||
"name": "redis",
|
||||
@@ -2821,7 +2876,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.compose": {
|
||||
"name": "compose",
|
||||
@@ -3131,7 +3189,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.registry": {
|
||||
"name": "registry",
|
||||
@@ -3212,7 +3273,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.discord": {
|
||||
"name": "discord",
|
||||
@@ -3240,7 +3304,10 @@
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.email": {
|
||||
"name": "email",
|
||||
@@ -3292,7 +3359,10 @@
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.gotify": {
|
||||
"name": "gotify",
|
||||
@@ -3333,7 +3403,10 @@
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.notification": {
|
||||
"name": "notification",
|
||||
@@ -3518,7 +3591,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.slack": {
|
||||
"name": "slack",
|
||||
@@ -3546,7 +3622,10 @@
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.telegram": {
|
||||
"name": "telegram",
|
||||
@@ -3574,7 +3653,10 @@
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.ssh-key": {
|
||||
"name": "ssh-key",
|
||||
@@ -3647,7 +3729,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.git_provider": {
|
||||
"name": "git_provider",
|
||||
@@ -3703,7 +3788,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.bitbucket": {
|
||||
"name": "bitbucket",
|
||||
@@ -3757,7 +3845,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.github": {
|
||||
"name": "github",
|
||||
@@ -3835,7 +3926,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.gitlab": {
|
||||
"name": "gitlab",
|
||||
@@ -3920,7 +4014,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.server": {
|
||||
"name": "server",
|
||||
@@ -4040,7 +4137,10 @@
|
||||
}
|
||||
},
|
||||
"compositePrimaryKeys": {},
|
||||
"uniqueConstraints": {}
|
||||
"uniqueConstraints": {},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
},
|
||||
"public.preview_deployments": {
|
||||
"name": "preview_deployments",
|
||||
@@ -4165,7 +4265,10 @@
|
||||
],
|
||||
"nullsNotDistinct": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"policies": {},
|
||||
"isRLSEnabled": false,
|
||||
"checkConstraints": {}
|
||||
}
|
||||
},
|
||||
"enums": {
|
||||
@@ -4334,8 +4437,14 @@
|
||||
},
|
||||
"schemas": {},
|
||||
"_meta": {
|
||||
"columns": {},
|
||||
"schemas": {},
|
||||
"tables": {}
|
||||
}
|
||||
"tables": {},
|
||||
"columns": {}
|
||||
},
|
||||
"id": "1f4eada1-a120-490d-a152-2fc7a81eee7a",
|
||||
"prevId": "8492fecb-69a3-4efb-86b1-7bbc62e1eba8",
|
||||
"sequences": {},
|
||||
"policies": {},
|
||||
"views": {},
|
||||
"roles": {}
|
||||
}
|
||||
Reference in New Issue
Block a user