mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:09 -04:00
Track the number of bytes written per request for both InfluxDB and Prometheus outputs. InfluxDB: - Added bytesT counter constant - Implemented calculateMetricBytes() to estimate line protocol size - Updated batchV1() and batchV2() to count bytes per point - Updated log output to display bytes written Prometheus: - Added Bytes field to Report struct - Updated export() to calculate approximate metric byte size - Updated log output to display bytes written 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3.4 KiB
3.4 KiB