Reputation: 814
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
Upvotes: 0
Views: 97
Reputation: 5833
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.
Upvotes: 1