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 (#19062)
  • Loading branch information
gaoran10 authored Dec 27, 2022
1 parent ef750a8 commit b24034f
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 b24034f

Please sign in to comment.