From ddd5cfc4122acc7cf81d6e825223299f366e14c9 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 13 Dec 2018 15:21:08 +0900 Subject: [PATCH] Add access token validation to SignalFxPropertiesConfigAdapter --- .../export/signalfx/SignalFxPropertiesConfigAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/signalfx/SignalFxPropertiesConfigAdapter.java b/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/signalfx/SignalFxPropertiesConfigAdapter.java index 685e3725d2..0d9e80a6c1 100644 --- a/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/signalfx/SignalFxPropertiesConfigAdapter.java +++ b/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/signalfx/SignalFxPropertiesConfigAdapter.java @@ -28,6 +28,7 @@ public class SignalFxPropertiesConfigAdapter extends StepRegistryPropertiesConfi public SignalFxPropertiesConfigAdapter(SignalFxProperties properties) { super(properties); + accessToken(); // validate that an access token is set } @Override