I have a Spring Boot 2.0 application and I like to send Micrometer info to a graphite via statsd.
In the application.properties file I added:
management.metrics.export.statsd.host=192.168.1.1 // not the real IP
management.metrics.export.statsd.port=8126
management.metrics.export.statsd.step=10s
In one of the Akka actors classes I added
public class ThePrincessBride extends AbstractActor {
private final Counter Inigo =
Metrics.counter("my.name.is", "Inigo", "Montoya");
///
...
///
private void doX(){
//do X
Inigo.increment();
}
The problem is that I don't see this information in Graphite.
I also don't see any relevant network packets leaving my computer when checking the network packets with Wireshark.
- Is it because some missing or wrong configuration?
- Is it because of some conjunction with the Akka actor?
- Do I need some daemon / client on my computer that the program needs to connect to?