diff --git a/strimzi/tests/common.py b/strimzi/tests/common.py index cebd58a071a2f..4a2adebcf7d29 100644 --- a/strimzi/tests/common.py +++ b/strimzi/tests/common.py @@ -165,7 +165,6 @@ ) USER_OPERATOR_METRICS = ( - "strimzi.user_operator.jvm.gc.memory_promoted_bytes.count", "strimzi.user_operator.jvm.buffer.count_buffers", "strimzi.user_operator.jvm.buffer.memory_used_bytes", "strimzi.user_operator.jvm.buffer.total_capacity_bytes", @@ -174,6 +173,7 @@ "strimzi.user_operator.jvm.gc.live_data_size_bytes", "strimzi.user_operator.jvm.gc.max_data_size_bytes", "strimzi.user_operator.jvm.gc.memory_allocated_bytes.count", + "strimzi.user_operator.jvm.gc.memory_promoted_bytes.count", "strimzi.user_operator.jvm.gc.pause_seconds.count", "strimzi.user_operator.jvm.gc.pause_seconds.max", "strimzi.user_operator.jvm.gc.pause_seconds.sum", @@ -191,7 +191,9 @@ "strimzi.user_operator.reconciliations.duration_seconds.max", "strimzi.user_operator.reconciliations.duration_seconds.sum", "strimzi.user_operator.reconciliations.failed.count", + "strimzi.user_operator.reconciliations.locked.count", "strimzi.user_operator.reconciliations.periodical.count", + "strimzi.user_operator.reconciliations.successful.count", "strimzi.user_operator.resources", "strimzi.user_operator.system.cpu_count", "strimzi.user_operator.system.cpu_usage", @@ -223,5 +225,7 @@ "strimzi.cluster_operator.vertx.http_server.errors.count", "strimzi.cluster_operator.vertx.http_server.request_resets.count", "strimzi.topic_operator.vertx.http_server.errors.count", + "strimzi.user_operator.reconciliations.locked.count", "strimzi.user_operator.reconciliations.periodical.count", + "strimzi.user_operator.reconciliations.successful.count", ) diff --git a/strimzi/tests/fixtures/0.34.0/user_operator_metrics.txt b/strimzi/tests/fixtures/0.34.0/user_operator_metrics.txt index 09a57579db1ab..f2b8dbbf19c85 100644 --- a/strimzi/tests/fixtures/0.34.0/user_operator_metrics.txt +++ b/strimzi/tests/fixtures/0.34.0/user_operator_metrics.txt @@ -78,6 +78,12 @@ system_cpu_count 5.0 # HELP strimzi_reconciliations_failed_total Number of reconciliations done by the operator for individual resources which failed # TYPE strimzi_reconciliations_failed_total counter strimzi_reconciliations_failed_total{kind="KafkaUser",namespace="kafka",selector="strimzi.io/cluster=my-cluster",} 18.0 +# HELP strimzi_reconciliations_locked_total Number of reconciliations skipped because another reconciliation for the same resource was still running +# TYPE strimzi_reconciliations_locked_total counter +strimzi_reconciliations_locked_total{kind="KafkaUser",namespace="kafka",selector="strimzi.io/cluster=my-cluster",} 18.0 +# HELP strimzi_reconciliations_successful_total Number of reconciliations done by the operator for individual resources which were successful +# TYPE strimzi_reconciliations_successful_total counter +strimzi_reconciliations_successful_total{kind="KafkaUser",namespace="kafka",selector="strimzi.io/cluster=my-cluster",} 18.0 # HELP jvm_buffer_count_buffers An estimate of the number of buffers in the pool # TYPE jvm_buffer_count_buffers gauge jvm_buffer_count_buffers{id="mapped - 'non-volatile memory'",} 0.0