Skip to content

Commit

Permalink
Fix meter registry creation (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammachado authored Dec 14, 2023
1 parent b22d94b commit af09205
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public MeterRegistryProvider(Log log, @Nullable String uriString, @Nullable Stri
}

public MeterRegistry registry() {
this.registry = buildRegistry();
if (this.registry == null) {
this.registry = buildRegistry();
}
return this.registry;
}

Expand Down

0 comments on commit af09205

Please sign in to comment.