0

I followed along this article to configure export of my spring boot application statistics to the influx. However, it creates quite a lot of measurements and I can't find any description of what exactly those measurements contain. I would like to have a description of each measurement and what statistics it contains. Anyone could point me where I can find such information?

Regards,

Sumesh TG
  • 2,557
  • 2
  • 15
  • 29
MAREK
  • 173
  • 1
  • 11
  • Where do you expect the descriptions? In the reference manual? Or in the monitoring system? – Johnny Lim Sep 14 '18 at 13:34
  • I think reference manual should at least mention where is detailed description for collected statistics for various supported monitoring systems. Description itself could be in monitoring system or source code. If its clear where to find it it doesn't matter. – MAREK Sep 17 '18 at 08:54

1 Answers1

1

If you are looking for the descriptions in the monitoring system itself, some monitoring systems like Datadog support it but looking at the Micrometer source, InfluxDB doesn't seem to be one of them.

If you are looking for them in the reference manual, there's nothing for now. So I created an issue for it.

The only way to see them for now is just looking into the code for meter definitions.

Johnny Lim
  • 5,623
  • 8
  • 38
  • 53
  • Thanks for your reply. I'm especially interested in http_server_requests measurement. I need mean and maximum request time. Mean is pretty obvious, but I'm not sure about the max. I assume that it might be value called upper however I had rows where upper value was bigger then sum value (Which I assume to be the total time of all requests). I tried to search in the sources, but couldn't find it so far (io.micrometer.core.aop.TimedAspect). Any ideas? – MAREK Sep 17 '18 at 08:48
  • @MAREK See https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcMetricsFilter.java#L221-L226 and https://github.com/micrometer-metrics/micrometer/blob/master/micrometer-core/src/main/java/io/micrometer/core/instrument/Statistic.java#L39-L42 – Johnny Lim Sep 17 '18 at 14:04
  • @MAREK If you believe the "MAX" doesn't work for you, you'd better open a new question with a sample reproducing it as it does seem to work as expected for me. – Johnny Lim Sep 17 '18 at 14:07