Skip to content

Commit

Permalink
Log deprecation warning when creating SignalFxMeterRegistry (#5824)
Browse files Browse the repository at this point in the history
Signed-off-by: jason plumb <[email protected]>
  • Loading branch information
breedx-splk authored Jan 27, 2025
1 parent 0540899 commit 44b1766
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public SignalFxMeterRegistry(SignalFxConfig config, Clock clock) {

public SignalFxMeterRegistry(SignalFxConfig config, Clock clock, ThreadFactory threadFactory) {
super(config, clock);
logger.warn("SignalFxMeterRegistry is deprecated in favor of micrometer-registry-otlp.");
this.config = config;

URI apiUri = URI.create(config.uri());
Expand Down

0 comments on commit 44b1766

Please sign in to comment.