Skip to content

Deployment and Maintenance / System Metrics and Task Records

This article mainly introduces the built-in metrics and task records of the system.

1. System Metrics

Metric data is stored in Redis by default

You can view system metrics in "Management / About / System Tools / View System Metrics":

local-metric-entry.png

local-metric.png

2. Task Records

Log data is stored in MySQL by default

You can view task execution records on list pages such as "Func API" and "Cron Job":

local-task-record-entry.png

You can also access a function's task execution records directly from the "Script Lib" sidebar:

local-task-record-entry-2.png

3. Disable Local Func Task Record

After heavy use of DataFlux Func, the amount of function task record data may be quite large. To limit local memory and disk usage, task record logs will be reduced, and the total amount retained will also be limited.

Even so, when the number of "Func API" and "Cron Job" entries in the system is large, disk usage may still be high because the system needs to retain a certain number of recent records for each different "Func API" and "Cron Job".

In this case, you can disable "Local Func Task Record" in Management / System Settings / Local Func Task Record to reduce MySQL disk usage.

disable-local-task-record.png

4. Upload Self-Monitor Data

While disabling "Local Func Task Record", you can enable "Self-Monitor Data Upload" in Management / System Settings / Self-Monitor Data Upload to upload function task records to the platform for viewing.

For details, see Deployment and Maintenance / Upload Self-Monitor Data