System Data Sources
System data sources operate within Mango itself, providing capabilities for testing, internal monitoring, computed values, and scripted data collection. These data sources do not communicate with external devices or services (with the exception of VMStat, which reads OS-level metrics).
Available System Data Sources
-
Virtual -- Generates simulated data using configurable patterns (random, sinusoidal, incremental, brownian, and more). Essential for testing dashboards, alarms, and scripts without physical hardware. Also useful for creating manual-entry points where operators input values through the Mango UI.
-
Internal -- Monitors Mango's own performance and health metrics, including JVM heap usage, thread counts, active data source counts, point value write throughput, and database size. Use these points to create operational dashboards and alerts for the Mango platform itself.
-
Meta -- Computes derived values from other data points using JavaScript expressions. For example, calculate a running average, detect a condition across multiple points, or convert units. Meta points update when their source points change or on a configurable schedule.
-
Scripting -- Executes JavaScript or GraalJS scripts to generate data point values. More powerful than the Meta data source, with access to Mango's full scripting API for complex calculations, external API calls, and multi-point logic.