Skip to content

Commit

Permalink
Merge pull request #638 from Channyboy/fix-build-issues1
Browse files Browse the repository at this point in the history
Build issues fix
  • Loading branch information
Channyboy authored Aug 18, 2023
2 parents fee0817 + 5e76d45 commit ea9f48e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public MeterRegistry getPrometheusMeterRegistry() {

/**
* Associates a metric's MetricID to a specific application if an application name can be resolved.
*
* @param metricDescriptor MetricDescriptor of metric
*/
public void addNameToApplicationMap(MetricDescriptor metricDescriptor) {
if (isAppnameResolverPresent)
Expand All @@ -104,6 +106,8 @@ public void addNameToApplicationMap(MetricDescriptor metricDescriptor) {

/**
* Associates a metric's MetricID to a specific application if an application name can be resolved.
*
* @param MetricID MetricID of metric
*/
public void addNameToApplicationMap(MetricID MetricID) {
if (isAppnameResolverPresent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ public HistogramBucketConfiguration(String metricName, Double[] values) {

}

/**
*
* @param input
* @return
*/
public static Collection<HistogramBucketConfiguration> parse(String input) {

ArrayDeque<HistogramBucketConfiguration> metricBucketConfiCollection = new ArrayDeque<HistogramBucketConfiguration>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ public boolean isDisabled() {
/**
*
* Parse the `mp.metrics.distribution.percentile` property.
* syntax of <metric_name>=<value-1>,<value-2>,...,<value-n>
* syntax of {@code <metric_name>=<value-1>,<value-2>,...,<value-n>}
* No values supplied to a metric name disables percentile output.
* Can use wild card `*` at the end of metric name (e.g. demo.app.*)
*
* @param input MP Config value
* @return Collection<MetricPercentileConfiguration> Collection of MetricPercentileConfiguration objects
* @return Collection of {@link MetricPercentileConfiguration} objects
*/

public static Collection<MetricPercentileConfiguration> parseMetricPercentiles(String input) {

ArrayDeque<MetricPercentileConfiguration> metricPercentileConfigCollection = new ArrayDeque<MetricPercentileConfiguration>();
Expand Down

0 comments on commit ea9f48e

Please sign in to comment.