Daq Tools Kotori Versions Save

A flexible data historian based on InfluxDB, Grafana, MQTT, and more. Free, open, simple.

0.27.0

1 year ago

What's Changed

  • Add documentation about running Kotori with RabbitMQ as MQTT broker, see Running Kotori with RabbitMQ
  • Allow connecting to individual MQTT broker per application
  • Improve MQTT logging when connection to broker fails
  • Make MQTT broker credential settings username and password optional
  • Add software tests for simulating all advanced actions against Grafana
    • Publish single reading in JSON format to MQTT broker and proof that a corresponding datasource and a dashboard was created in Grafana.
    • Publish two subsequent readings in JSON format to MQTT broker and proof that a corresponding datasource and a dashboard was first created and then updated in Grafana.
    • Publish two subsequent readings to two different topics and proof that a corresponding datasource and a dashboard with two panels has been created in Grafana.
    • Publish two subsequent readings to two different topics and proof that a corresponding datasource and two dashboards have been created in Grafana.
  • Adjust logging format re. milli/microseconds
  • Because accessing dashboards by slug has been removed with Grafana 8, Kotori will now use the slug-name of the data channel for all of Grafana's uid, name and title fields.
  • Improve decoding fractional epoch timestamps
  • Update to numpy<1.24 on Python >3.10
  • Replace Bunch with Munch

Breaking changes

  • Stop converging latitude and longitude ingress fields to tags. It has been implemented as a convenience case when processing LDI data, but it is not applicable in standard data acquisition scenarios, specifically when recording positions of moving objects. Thanks, @tonkenfo.

Infrastructure

  • Improve sandbox and CI setup, software tests and documentation
  • Update to Twisted <23
  • CI: Update to Grafana 7.5.17, 8.5.15, and 9.2.6
  • CI: Update to MongoDB 5.0
  • Tests: Remove nosetests test runner, replace with pytest
  • Build: Use python -m build for building sdist and wheel packages
  • Add support for Python 3.10 and 3.11
  • Drop support for Python 3.5 and 3.6
  • CI: Modernize GHA workflow recipe
  • Documentation: Add link checker and fix a few broken links
  • Documentation: Update to Sphinx 5

Full Changelog: https://github.com/daq-tools/kotori/compare/0.26.12...0.27.0