Skip to content

Commit

Permalink
Merge ea1fa89 into 769dc9d
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangyong committed Feb 3, 2018
2 parents 769dc9d + ea1fa89 commit c01ecc7
Show file tree
Hide file tree
Showing 20 changed files with 8 additions and 691 deletions.
Expand Up @@ -29,8 +29,6 @@ public class RegistryMetric {

private final Map<String, ProducerInvocationMetric> producerMetrics;

private final Map<String, Double> customMetrics;

public InstanceMetric getInstanceMetric() {
return instanceMetric;
}
Expand All @@ -43,27 +41,19 @@ public Map<String, ProducerInvocationMetric> getProducerMetrics() {
return producerMetrics;
}

public Map<String, Double> getCustomMetrics() {
return customMetrics;
}

public RegistryMetric(@JsonProperty("instanceMetric") InstanceMetric instanceMetric,
@JsonProperty("consumerMetrics") Map<String, ConsumerInvocationMetric> consumerMetrics,
@JsonProperty("producerMetrics") Map<String, ProducerInvocationMetric> producerMetrics,
@JsonProperty("customMetrics") Map<String, Double> customMetrics) {
@JsonProperty("producerMetrics") Map<String, ProducerInvocationMetric> producerMetrics) {
this.consumerMetrics = consumerMetrics;
this.producerMetrics = producerMetrics;
this.instanceMetric = instanceMetric;
this.customMetrics = customMetrics;
}

public RegistryMetric(SystemMetric systemMetric,
Map<String, ConsumerInvocationMetric> consumerMetrics,
Map<String, ProducerInvocationMetric> producerMetrics,
Map<String, Double> customMetrics) {
Map<String, ProducerInvocationMetric> producerMetrics) {
this.consumerMetrics = consumerMetrics;
this.producerMetrics = producerMetrics;
this.customMetrics = customMetrics;

ConsumerInvocationMetric instanceConsumerInvocationMetric = new ConsumerInvocationMetric("instance",
MetricsConst.INSTANCE_CONSUMER_PREFIX,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit c01ecc7

Please sign in to comment.