Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Micrometer入門 #javaq / introduce-to-micrometer

Micrometer入門 #javaq / introduce-to-micrometer

Javaコミュ@福岡 勉強会1910 での発表資料です
https://javaq.connpass.com/event/147444/

Manabu Matsuzaki

October 08, 2019
Tweet

More Decks by Manabu Matsuzaki

Other Decks in Programming

Transcript

  1. Self Introduction • Nameɿ Manabu Matsuzaki • Work atɿ LINE

    Fukuoka Corporation • Roleɿ SRE • Twitterɿ @matsumana
  2. ͜ͷࢿྉ͸ҎԼͷόʔδϣϯΛݩʹ࡞੒͍ͯ͠·͢ • Micrometer: 1.3.0 (LTS) • https://github.com/micrometer-metrics/micrometer/releases • Spring Boot:

    2.2.0 RC1 • https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2- Release-Notes • Armeria: 0.94.0 (Micrometerͷ࢖͍ํͷαϯϓϧͱͯ͠঺հ͠·͢) • https://github.com/line/armeria/releases
  3. TagͰϝτϦΫεʹ৘ใΛ෇Ճ͢Δ • Πϝʔδɿ TagΛαϙʔτ͢ΔϞχλϦϯάγεςϜ TagΛαϙʔτ͠ͳ͍ϞχλϦϯάγεςϜ http_server_requests{uri=“/foo”, status=“200"} 10 http_server_requests_foo_200 10

    http_server_requests{uri=“/foo”, status=“500"} 2 http_server_requests_foo_500 20 http_server_requests{uri=“/bar”, status=“200"} 21 http_server_requests_bar_200 21 http_server_requests{uri=“/bar”, status=“500"} 4 http_server_requests_bar_500 4
  4. Tag͕࢖͑Δ Tag͕࢖͑ͳ͍ AppOptics, Atlas, Azure Monitor, Cloudwatch, Datadog, Datadog StatsD,

    Dynatrace, Elastic, Humio, Influx, KairosDB, New Relic, Prometheus, SignalFx, Sysdig StatsD, Telegraf StatsD, Wavefront Graphite, Ganglia, JMX, Etsy StatsD ֤ϞχλϦϯάγεςϜͷTagαϙʔτ https://micrometer.io/docs/concepts#_supported_monitoring_systems
  5. ؔ࿈υΩϡϝϯτͱࢀߟϒϩά • Spring Boot Actuator: Production-ready Features
 https://docs.spring.io/spring-boot/docs/2.2.0.RC1/reference/html/ production-ready-features.html •

    Spring BootΞϓϦͷϝτϦΫεΛMicrometerͰऩू͢Δ
 https://matsumana.info/blog/2018/05/23/collect-spring-boot-app- metrics-with-micrometer/ • ϨΠςϯγʔΛܭࢉ͢Δٕज़ͷ࿩
 https://engineering.linecorp.com/ja/blog/latency-calculation-techniques/