Refactor logging levels for session and metrics in Teltonika adapter

This commit is contained in:
2026-04-30 19:13:35 +02:00
parent 2b6b447252
commit e2b3bc421c
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ logger.info('tcp-ingestion starting');
// Placeholder metrics implementation — replaced in task 1.10.
// Using the Metrics interface from types.ts (no prom-client yet).
const metrics: Metrics = {
inc: (name, labels) => logger.debug({ metric: name, labels }, 'metric inc'),
observe: (name, value, labels) => logger.debug({ metric: name, value, labels }, 'metric observe'),
inc: (name, labels) => logger.trace({ metric: name, labels }, 'metric inc'),
observe: (name, value, labels) => logger.trace({ metric: name, value, labels }, 'metric observe'),
};
// -------------------------------------------------------------------------