Sends alerts to an output topic when the temperature is under or over the threshold.
It receives data from two topics (3d printer data and forecast) and triggers an alert (to output topic
alerts) if the temperature is under or over the threshold.
The default thresholds are as shown in the following table:
|Default value (degrees C)
These thresholds are used to determine if the temperature, or forecast temperature, are under or over the threshold values. If so these alerts are published to the
Note there are different alert types, with the message format for the
no-alert type alert:
An example of the
under-now alert message format:
over-forecast alert message format:
under-forecast alert message format:
These alerts are subscribed to by the Printers dashboard service, and the alerts can be displayed in real time on the scrolling charts, as well as the scrolling alert display:
Check the log messages
It can be very useful to check the logs for a service. To do this from the pipeline view:
Click on Alert Service in the pipeline view.
You can now view the log messages:
View the message format
You can also view the actual messages being transferred through the service:
You can now select either the input or oputput topic as required from the topic drop down:
You can now explore the messages. Click on a message to display it:
Make sure you click the
Live tab to continue viewing live messages.