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 the system metrics:

local-metric-entry.png

local-metric.png

2. Task Records

Log data is stored in MySQL by default

On the "Func API," "Cron Job," and other list pages, 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 records may be quite large. To limit local memory and disk usage, task record logs will be reduced, and the total amount saved will also be limited.

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

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