fix(metrics): fix metrics

This commit is contained in:
Juergen Kunz
2025-06-23 08:50:19 +00:00
parent be58700a2f
commit 753b03d3e9
2 changed files with 55 additions and 26 deletions

View File

@ -5,6 +5,11 @@ export interface IThroughputSample {
timestamp: number;
bytesIn: number;
bytesOut: number;
tags?: {
route?: string;
ip?: string;
[key: string]: string | undefined;
};
}
/**
@ -102,5 +107,6 @@ export interface IByteTracker {
remoteIP: string;
bytesIn: number;
bytesOut: number;
startTime: number;
lastUpdate: number;
}