Browse Source

MINOR: Update connector status metric description to include 'stopped' as a potential value (#13967)

Reviewers: Mickael Maison <mickael.maison@gmail.com>
pull/13972/head
Yash Mayya 1 year ago committed by GitHub
parent
commit
a1a3ec0bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java

2
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java

@ -128,7 +128,7 @@ public class ConnectMetricsRegistry {
connectorTags.add(CONNECTOR_TAG_NAME); connectorTags.add(CONNECTOR_TAG_NAME);
connectorStatus = createTemplate("status", CONNECTOR_GROUP_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'.", "'restarting'.",
connectorTags); connectorTags);
connectorType = createTemplate("connector-type", CONNECTOR_GROUP_NAME, "The type of the connector. One of 'source' or 'sink'.", connectorType = createTemplate("connector-type", CONNECTOR_GROUP_NAME, "The type of the connector. One of 'source' or 'sink'.",

Loading…
Cancel
Save