managarten/services/matrix-stats-bot/src/infrastructure/infrastructure.module.ts
Till-JS bd7f19718c feat(stats-bot): add infrastructure monitoring commands
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>
2026-02-14 11:24:31 +01:00

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 {}