FROST-Server Documentation

Live documentation for the development version.

Logging

FROST-Server uses SLF4J and Logback as logging framework. Each component (HTTP, MQTT and combined) comes with a default logback.xml configuration file. You can override the logback configuration file by specifying a different configuration file in a JVM parameter -Dlogback.configurationFile. Of course this is not trivial in a Docker environment. Therefore there are some environment variables that influence basic logging options.

Environment variables

Metrics

FROST-Server uses prometheus to gather metrics. For the HTTP component, the metrics end point can be made available on the same port as the normal service by setting the useServlet variable, or on a separate port by setting the useInternalHttpServer variable. If both useServlet and useInternalHttpServer are false, then metrics gathering is disabled.

Environment variables

Gathered metrics

Besides the FROST-Server specific metrics listed below, the JVM metrics are also gathered, as described in the Prometheus Documentation

HTTP Pods

One HTTP request may result in multiple service requests, which in turn may result in may SQL queries.

MQTT Pods

The MQTT Manager is the part of the FROST-MQTT component that sits between the Data Model and the MQTT Broker. It tracks which changes are made to the data, and determines which MQTT Topics need to be notified of these changes.

Moquette is the MQTT broker that distributes messages to the clients that listen to the topics those messages are sent to.

Message Bus