@ahmedhegazee/nestjs-telescope
Version:
Advanced observability and monitoring solution for NestJS applications with ML-powered analytics, enterprise features, and production-ready scaling
20 lines (19 loc) • 799 B
TypeScript
import { TelescopeEntry } from '../interfaces/telescope-entry.interface';
import { TelescopeConfig } from '../interfaces/telescope-config.interface';
import { StorageService } from '../../storage/storage.service';
export declare class EntryManagerService {
private readonly storageService;
private readonly config;
private readonly logger;
private readonly batchQueue;
private batchTimer;
private sequenceCounter;
constructor(storageService: StorageService, config: TelescopeConfig);
process(entry: TelescopeEntry): Promise<void>;
processBatch(entries: TelescopeEntry[]): Promise<void>;
addToBatch(entry: TelescopeEntry): Promise<void>;
private ensureEntryFields;
private generateFamilyHash;
private startBatchProcessor;
private flushBatch;
}