Structure of Monitoring Data Messages
The FTL server publishes a stream of monitoring data messages. Each message can contain a group of samples, that is, data values. Each monitoring message also contains fields that identify and describe those samples.
Types of Monitoring Messages
A monitoring message can contain metric samples from a client, metric samples from the FTL server, or data about an event. The
msg_type field distinguishes among these three types of message.
Top Level Fields
Many of the top level fields of a monitoring message contain descriptive information about the samples or event. For example, they describe the application program, client process, and the sampling time.
This descriptive information applies to all of the data samples in the message. For example, all the samples in the message come from the same client, and report data from the same sampling interval.
Data Sample Submessage
A monitoring message can contain data samples of multiple metrics. The
metrics field contains an array of data sample submessages.
Data sample submessages can include the following fields:
A set of data sample submessages with the same value in the context field all contain information about the same monitored object.