Skip to content

Deployment and Maintenance / System Metrics and Task Records

This article mainly introduces the system's built-in 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 list pages such as Function API and Scheduled Tasks, 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 Library sidebar:

local-task-record-entry-2.png

3. Disable Local Function Task Records

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

Even so, when the number of Function APIs and Scheduled Tasks 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 Function API and Scheduled Task separately.

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

disable-local-task-record.png

4. Upload Self-Monitoring Data

While disabling local function task records, you can enable Self-Monitoring Data Upload in Management / System Settings / Self-Monitoring Data Upload to upload function task records to the platform for viewing.

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