From 0364353204e88fb2338d92463dfad7db0ba8bd15 Mon Sep 17 00:00:00 2001 From: izeye Date: Thu, 9 Dec 2021 22:42:50 +0900 Subject: [PATCH] Add public accessor for StackdriverProperties.useSemanticMetricTypes See gh-28944 --- .../metrics/export/stackdriver/StackdriverProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/stackdriver/StackdriverProperties.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/stackdriver/StackdriverProperties.java index e1121e9289..610fee2a34 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/stackdriver/StackdriverProperties.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/stackdriver/StackdriverProperties.java @@ -78,11 +78,11 @@ public class StackdriverProperties extends StepRegistryProperties { this.resourceLabels = resourceLabels; } - boolean isUseSemanticMetricTypes() { + public boolean isUseSemanticMetricTypes() { return this.useSemanticMetricTypes; } - void setUseSemanticMetricTypes(boolean useSemanticMetricTypes) { + public void setUseSemanticMetricTypes(boolean useSemanticMetricTypes) { this.useSemanticMetricTypes = useSemanticMetricTypes; }