feat: add comprehensive logging infrastructure
- Add Loki/Prometheus/Grafana stack in logging-stack/ - Add log-ingest service for receiving events from AI stacks - Add Grafana dashboard with stack_name filtering - Update Dokploy client with setApplicationEnv method - Configure STACK_NAME env var for deployed stacks - Add alerting rules for stack health monitoring
This commit is contained in:
@@ -388,6 +388,16 @@ export class DokployProductionClient {
|
||||
);
|
||||
}
|
||||
|
||||
async setApplicationEnv(applicationId: string, env: string): Promise<void> {
|
||||
await this.request(
|
||||
'POST',
|
||||
'/application.update',
|
||||
{ applicationId, env },
|
||||
'application',
|
||||
'set-env'
|
||||
);
|
||||
}
|
||||
|
||||
async getApplication(applicationId: string): Promise<DokployApplication> {
|
||||
return this.request<DokployApplication>(
|
||||
'GET',
|
||||
|
||||
Reference in New Issue
Block a user