Skip to content

DataFlux Func


DataFlux Func is a Python-based platform for script development, management, and execution. It is a function compute component under TrueWatch and has become a system that can run independently.

It consists of two main parts:

  • Server: Built with Node.js + Express, primarily provides Web UI services and external API endpoints.
  • Worker: Built with Python3 + Celery, primarily provides the Python script execution environment (includes the Beat module).

To connect data sources such as MySQL and Prometheus to TrueWatch through DataFlux Func, see External Data Sources: Connect via DataFlux Func. To write scripts to process data and return query results in the format required by charts, see Custom Query Functions.