From a1a3ec0bcb4cc64ee1a4582b645d31de16e101cd Mon Sep 17 00:00:00 2001 From: Yash Mayya Date: Thu, 6 Jul 2023 14:28:07 +0100 Subject: [PATCH] MINOR: Update connector status metric description to include 'stopped' as a potential value (#13967) Reviewers: Mickael Maison --- .../apache/kafka/connect/runtime/ConnectMetricsRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java index b5626358cdd..2a4fe6ae716 100644 --- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java +++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java @@ -128,7 +128,7 @@ public class ConnectMetricsRegistry { connectorTags.add(CONNECTOR_TAG_NAME); connectorStatus = createTemplate("status", CONNECTOR_GROUP_NAME, - "The status of the connector. One of 'unassigned', 'running', 'paused', 'failed', or " + + "The status of the connector. One of 'unassigned', 'running', 'paused', 'stopped', 'failed', or " + "'restarting'.", connectorTags); connectorType = createTemplate("connector-type", CONNECTOR_GROUP_NAME, "The type of the connector. One of 'source' or 'sink'.",