DBS
DBS

Reputation: 814

Spring boot graphite network information

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

Answers (1)

Johnny Lim
Johnny Lim

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

Related Questions