File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
instrumentation/jmx-metrics/library/src/main/java/io/opentelemetry/instrumentation/jmx/yaml Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public class JmxRule extends MetricStructure {
4747 @ Nullable private String prefix ;
4848 private Map <String , Metric > mapping ;
4949
50+ @ Nullable
5051 public String getBean () {
5152 return bean ;
5253 }
@@ -90,6 +91,7 @@ private String validatePrefix(String prefix) {
9091 return prefix ;
9192 }
9293
94+ @ Nullable
9395 public String getPrefix () {
9496 return prefix ;
9597 }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ public class Metric extends MetricStructure {
2121 @ Nullable private String metric ;
2222 @ Nullable private String desc ;
2323
24+ @ Nullable
2425 public String getMetric () {
2526 return metric ;
2627 }
@@ -35,6 +36,7 @@ private String validateMetricName(String name) {
3536 return name ;
3637 }
3738
39+ @ Nullable
3840 public String getDesc () {
3941 return desc ;
4042 }
You can’t perform that action at this time.
0 commit comments