https://www.m3tech.blog/entry/2018/08/20/113000
https://k11i.biz/blog/2018/03/24/spring-boot-with-micrometer/
ansible-galaxy install Datadog.datadog -p ansible/roles
apm_non_local_traffic: true
wget -O dd-java-agent.jar 'https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.datadoghq&a=dd-java-agent&v=LATEST'
java -javaagent:./dd-java-agent.jar
WARN datadog.trace.agent.common.writer.ddagent.DDAgentApi - Error while sending 1 of 1 (size=4KB) traces to the DD agent. Total: 10, Received: 10, Sent: 9, Failed: 1. java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8126
https://qiita.com/shin1988/items/4b4bbc45816b590bb315
https://gist.github.com/millerdz/289ef2142c4f048648394295afea4170
groupadd docker systemctl restart docker usermod -a -G docker dd-agent systemctl restart datadog-agent
メトリクス取得が増えまくりなんと12時間程度で0.26$課金というクラウド破産一直線状態だった。
半日で16000 APIコールしてくれて、そのままだとクラウド破産するので止めた。
https://docs.datadoghq.com/ja/integrations/ecs_fargate/#aws-logdriver
https://goodbyegangster.hatenablog.com/entry/2019/04/15/225137