openwisp / openwisp-monitoring

Network monitoring system written in Python and Django, designed to be extensible, programmable, scalable and easy to use by end users: once the system is configured, monitoring checks, alerts and metric collection happens automatically.
https://openwisp.io/docs/dev/monitoring/
Other
165 stars 112 forks source link

[change] Batch timeseries writes #466

Closed nemesifier closed 1 year ago

nemesifier commented 1 year ago

It should be possible to batch timeseries writes and instead of writing each metric singularly find a way to batch them and hence each call to the monitoring API view to write data would generate only 1 celery task instead of many, and that celery task would then write to influxdb only once using the fastest method available (#458).