Updated on 2026-11-06 GMT+08:00

Resource and Job Metrics for Spark Endpoints

Resource Metrics

Table 1 Resource metrics for SparkJob and SparkSQL endpoints

Metric ID

Metric Name

Description

Value Range

Unit

Unit Base

Dimension

Monitoring Interval

aidatalake_endpoint_spark_used_cpu_num

Used CPUs

The number of vCPUs used on the endpoint.

≥0

vCPU

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_max_cpu_num

Total CPU Quota

The maximum number of vCPUs that can be allocated to the endpoint.

≥0

vCPU

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_cpu_rate

CPU Usage

The average CPU usage of the current endpoint.

0–100

%

N/A

workspace_id,endpoint_id,endpoint_type

1 minute

aidatalake_endpoint_spark_used_memory_num

Used Memory

The amount of memory used on the endpoint.

≥0

Byte

1024

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_max_memory_num

Total Memory Quota

The maximum amount of memory that can be allocated to the endpoint.

≥0

Byte

1024

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_memory_rate

Memory Usage

The average memory usage of the current endpoint.

0–100

%

N/A

workspace_id,endpoint_id,endpoint_type

1 minute

Job Metrics

Table 2 Job metrics for SparkJob and SparkSQL endpoints

Metric ID

Metric Name

Description

Value Range

Unit

Unit Base

Dimension

Monitoring Interval

aidatalake_endpoint_spark_submitting_jobs_count

Jobs Being Submitted

The number of jobs currently being submitted to the endpoint, including maximum, minimum, and average values.

≥0

Count

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_running_jobs_count

Running Jobs

The number of jobs currently running on the endpoint, including maximum, minimum, and average values.

≥0

Count

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_completed_jobs_count

Successful Jobs

The number of successful jobs on the endpoint, including maximum, minimum, and average values.

≥0

Count

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_failed_jobs_count

Failed Jobs

The number of failed jobs on the endpoint, including maximum, minimum, and average values.

≥0

Count

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_cancelled_jobs_count

Canceled Jobs

The number of canceled jobs on the endpoint, including maximum, minimum, and average values. SparkJob endpoint: Includes only canceled jobs. SparkSQL endpoint: Includes only canceled jobs.

≥0

Count

N/A

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_max_submitting_duration_ms

Longest Job Queue Duration

The maximum queue duration of jobs on the endpoint at the specified time. SparkJob endpoint: Includes both queued and starting jobs. SparkSQL endpoint: Includes queued jobs only.

≥0

ms

1000

workspace_id,endpoint_id

1 minute

aidatalake_endpoint_spark_max_running_duration_ms

Longest Job Execution Duration

The maximum execution duration of jobs on the endpoint at the specified time. SparkJob endpoint: Includes only running jobs. SparkSQL endpoint: Includes only running jobs.

≥0

ms

1000

workspace_id,endpoint_id

1 minute