mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-12 19:51:00 +05:00
feat(server): expose monitoring fields on environment services
Include appName, replicas, composeType, server IP, and metricsConfig so project monitoring can resolve containers and metrics endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d7884c7ce9
commit
188dedc712
@ -49,12 +49,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
name: true,
|
||||
applicationId: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
@ -68,12 +72,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
mariadbId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
@ -86,12 +94,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
mongoId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
@ -104,12 +116,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
mysqlId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
@ -122,12 +138,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
postgresId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
description: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
@ -140,12 +160,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
redisId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
@ -158,12 +182,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
composeId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
composeType: true,
|
||||
createdAt: true,
|
||||
composeStatus: true,
|
||||
description: true,
|
||||
@ -177,12 +205,16 @@ export const findEnvironmentById = async (environmentId: string) => {
|
||||
columns: {
|
||||
name: true,
|
||||
serverId: true,
|
||||
ipAddress: true,
|
||||
metricsConfig: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
columns: {
|
||||
libsqlId: true,
|
||||
name: true,
|
||||
appName: true,
|
||||
replicas: true,
|
||||
createdAt: true,
|
||||
applicationStatus: true,
|
||||
description: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user