project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

sensor logs using routing keys #115

Closed laroque closed 9 years ago

laroque commented 9 years ago

Rather than putting "from" information into the payload, sensor_values sent to the alert exchange should use a routing key of the form sensor_values.. This improvement allows consumers to bind against a single logger, or several specific loggers, in addition to binding against everything.

For now I'll leave the "from" field in the payload, once this is done a new issue should be added to the 2.0 milestone which removes the from field from these alerts. Existing services will need to bind against sensor_values.# rather than just sensor_values to keep working, but will require no code changes.

laroque commented 9 years ago

complete, note that #125 covers removing the "from" field from payloads as part of the release 2.0 milestone.