Error logs

2025-07-25 02:30:59  Updated

This topic describes performance metrics related to error logs in an OceanBase cluster. You can specify a statistical range to query the metrics in a single zone or on a single OBServer node of an OceanBase cluster.

observer

Definition

The number of error logs on an OBServer node of a cluster within the specified statistical range.

Description

Metric Metric name Unit
observer observer_log_error_count N/A

Calculation expression

sum(rate(ob_log_level_count{level="ERROR",logSourceType="observer",@LABELS}[@INTERVAL])) by (@GBLABELS)

election

Definition

The number of election error logs on an OBServer node of a cluster within the specified statistical range.

Description

Metric Metric name Unit
election election_log_error_count N/A

Calculation expression

sum(rate(ob_log_level_count{level="ERROR",logSourceType="election",@LABELS}[@INTERVAL])) by (@GBLABELS)

rootservice

Definition

The number of rootservice error logs on an OBServer node of a cluster within the specified statistical range.

Description

Metric Metric name Unit
rootservice rootservice_log_error_count N/A

Calculation expression

sum(rate(ob_log_level_count{level="ERROR",logSourceType="rootservice",@LABELS}[@INTERVAL])) by (@GBLABELS)

Contact Us