Reporting and version

This MR adds a few minor things to the device:

  • A new "report" is logged after the device is started. This report is not currently sent out to HTTPReceivers, only logged to disk. Not sure if we should do both, but for now I suspect that it would cause trouble with the adapter. It's mainly useful to store in the alarm database.
  • Added "tango_host" to all reports. I think it will be useful for filtering, once we have alarms from many control systems in the database.
  • Added version info to the device, if running on Tango 10 or later. This is a new feature, that can be queried from clients https://tango-controls.readthedocs.io/projects/pytango/en/latest/api/server_api/server.html#tango.server.Device.get_version_info
  • Minor comment cleanups, clarifications to readme

Merge request reports

Loading