Skip to content

Commit

Permalink
[fix][proxy] Cleanup default collector registry when closing the Prox…
Browse files Browse the repository at this point in the history
…yServiceStarter (apache#19062)
  • Loading branch information
gaoran10 authored and tisonkun committed Dec 27, 2022
1 parent 95c06b0 commit d12a314
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ public void close() {
if (server != null) {
server.stop();
}
CollectorRegistry.defaultRegistry.clear();
} catch (Exception e) {
log.warn("server couldn't stop gracefully {}", e.getMessage(), e);
} finally {
Expand Down

0 comments on commit d12a314

Please sign in to comment.