rocketmq-exporter icon indicating copy to clipboard operation
rocketmq-exporter copied to clipboard

metric expose with type

Open SjhZju opened this issue 4 years ago • 1 comments

hi, I found that the metrics's metricType exposed can not be recognized clearly (gauge, counter, histogram etc.) Would you like to add its description so that we can define how to query it.

SjhZju avatar Apr 26 '20 06:04 SjhZju

@SjhZju a little change on file: RMQMetricsServiceImpl.java change a method to this below public void metrics(StringWriter writer) throws IOException { TextFormat.write004(writer, registry.metricFamilySamples()); }

francisoliverlee avatar May 06 '20 01:05 francisoliverlee