Skip to content

Commit

Permalink
[ISSUE #7491] metricsExporterType enum config support
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgd67 committed Oct 23, 2023
1 parent 8f020b3 commit 5d0e456
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ public void setMetricsExporterType(MetricsExporterType metricsExporterType) {
this.metricsExporterType = metricsExporterType;
}

// support read from config file using org.apache.rocketmq.common.MixAll.properties2Object
public void setMetricsExporterType(String metricsExporterType) {
this.metricsExporterType = MetricsExporterType.valueOf(metricsExporterType);
}

public String getMetricsGrpcExporterTarget() {
return metricsGrpcExporterTarget;
}
Expand Down

0 comments on commit 5d0e456

Please sign in to comment.