Distributed tracing & metric collection 4S

Summary

  • Kamon
  • F{oo} Bar 
  • Demo (1)
  • Monitoring, Alerting, Tracing
  • Using Kamon
  • QA

Kamon

  • Http4s
  • Play
  • Akka-Http
  • Akka
  • Futures
  • Jdbc
  • System Metrics
  • ...

 

  • Prometheus
  • InfluxDB
  • StatsD
  • Datadog
  • ...

f{oo} bar

distributed tracing and monitoring 4S

f{oo} bar

Console

Bartender

RMQ

Water

Soda

Coke

f{oo} bar

Console

Bartender

RMQ

Water

Soda

Coke

Demo

Monitoring

  • Health monitoring
  • Performance monitoring

Alerting

  • ...

Before Tracing

Span, Trace, Context

A

B

Trace ID (A)
Span ID (1)

Span ID (2)
Context (2)  (url, status_code)

Span ID (3)
Context(3)  (url, status_code)

  • Trace ID (A)
  • Span ID (1)
  • Context (url, status_code)

Trace ID (A)
Span ID (1)

Tracing

  • Trace/Span identifiers
  • ​Visualisation 

Using Kamon

  • build.sbt
  • plugins.sbt
  • Main.scala *
  • application.conf
  • logback.xml
  • Url => Operation Name

References

QA

Copy of Distributed Tracing 4S (short)

By Carlos Teixeira

Copy of Distributed Tracing 4S (short)

  • 682