Skip to content

Deployment and Maintenance / System Metrics and Task Records

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

1. System Metrics

Metric data is stored in Redis by default

In "Management / About / System Tools / View System Metrics", you can view system metrics:

local-metric-entry.png

local-metric.png

2. Task Records

Log data is stored in MySQL by default

On list pages such as "Func API" and "Cron Job", you can view task execution records:

local-task-record-entry.png

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

local-task-record-entry-2.png

3. Disable Local Func Task Records

After heavy use of DataFlux Func, the volume of function task record data can be quite large. To limit local memory and disk usage, task record logs are trimmed, and the total amount saved is also limited.

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

At this point, you can disable "Local Func Task Records" in Management / System Settings / Local Func Task Records to reduce MySQL disk usage.

disable-local-task-record.png

4. Upload Self-Monitor Data

While disabling local function task records, 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