Skip to content
Merged
Show file tree
Hide file tree
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 @@ -102,11 +102,9 @@ public boolean isRemoteClusterServerEnabled() {
* the functionality to do it the right way is not yet ready -- replace this code when it's ready.
*/
this.crossProjectEnabled = settings.getAsBoolean("serverless.cross_project.enabled", false);
if (transportService != null) {
transportService.getTelemetryProvider()
.getMeterRegistry()
.registerLongCounter(CONNECTION_ATTEMPT_FAILURES_COUNTER_NAME, "linked project connection attempt failure count", "count");
}
transportService.getTelemetryProvider()
.getMeterRegistry()
.registerLongCounter(CONNECTION_ATTEMPT_FAILURES_COUNTER_NAME, "linked project connection attempt failure count", "count");
}

public RemoteClusterCredentialsManager getRemoteClusterCredentialsManager() {
Expand Down
Loading