Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ private Factory connectionMetric(final FactoryBuilder.CollectorConstructor colle
final HashMap<String, String> labels = new HashMap<>();

{
final String endpoint = keyPropertyList.get("scope"); // IP address of other node
labels.putAll(metadataFactory.endpointLabels(endpoint));
final String endpointAndPort = keyPropertyList.get("scope"); // IP address of other node
labels.putAll(metadataFactory.endpointLabels(endpointAndPort.split("_")[0]));
}

labels.computeIfAbsent("task_type", k -> {
Expand Down