Commit graph

3 commits

Author SHA1 Message Date
kastov
c1ae592828
feat: add nodes metrics endpoint and integrate Prometheus metrics parsing
- Introduced a new endpoint to retrieve nodes metrics from the Prometheus metrics endpoint.
- Added the `parse-prometheus-text-format` package for parsing metrics data.
- Updated the SystemService to include logic for fetching and processing node metrics.
- Enhanced the SystemController to expose the new nodes metrics API.
2025-07-12 20:58:45 +03:00
kastov
6b4d5f0e87
refactor: database integration, kysely qb
- Added @kastov/nestjs-prisma-kysely version 0.1.2
- Removed prisma-extension-kysely from dependencies to streamline the database integration.
- Refactored PrismaService and various repository classes to utilize TxKyselyService for database queries.
2025-07-12 05:31:01 +03:00
kastov
0f971a4159
refactor: update type definitions and error handling in infra billing module
- Changed type roots in tsconfig.json to point to the new @types directory.
- Removed obsolete types.d.ts file.
- Corrected validation messages in CreateInfraProviderCommand and UpdateInfraProviderCommand for name length.
- Updated description in GetInfraBillingHistoryRecordsCommand for clarity.
- Fixed export statement for get-billing-nodes command.
- Added new error constant for deleting config profiles.
- Refactored various entities and models to improve type safety and clarity.
- Enhanced error handling in ConfigProfileService and related methods.
2025-06-22 20:54:09 +03:00
Renamed from types.d.ts (Browse further)