0

I am setting up graphite / grafana for my spring boot application. I am trying to find how to get network information like bytes in / out (network stats). Can someone tell me how I could derive this information? I am using tomcat as boot server

DBS
  • 794
  • 2
  • 9
  • 21

1 Answers1

1

See meter name tomcat.global.received and tomcat.global.sent which come from Tomcat JMX Bean GlobalRequestProcessor's bytesReceived and bytesSent attributes respectively.

See also the relevant part of code in Micrometer.

Johnny Lim
  • 5,623
  • 8
  • 38
  • 53