mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 05:09:39 +02:00
Add 5 new commands powered by Prometheus/VictoriaMetrics: - !system: Mac Mini status (CPU, RAM, Disk, Uptime, Load) - !services: Backend service health (UP/DOWN) - !traffic: HTTP traffic & latency per service - !db: PostgreSQL & Redis status - !growth: User growth statistics New modules: - PrometheusService: Query Prometheus/VictoriaMetrics API - InfrastructureService: Generate infrastructure reports Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 lines
328 B
TypeScript
10 lines
328 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { PrometheusModule } from '../prometheus/prometheus.module';
|
|
import { InfrastructureService } from './infrastructure.service';
|
|
|
|
@Module({
|
|
imports: [PrometheusModule],
|
|
providers: [InfrastructureService],
|
|
exports: [InfrastructureService],
|
|
})
|
|
export class InfrastructureModule {}
|