Distributed tracing & metric collection 4S
Summary
- Project & project architecture
- Demo (1)
- Monitoring, Alerting, Observability
- Traces, Spans, Contexts
- Kamon & Demo (2)
- QA
f{oo} bar
distributed tracing and monitoring 4S
Taps
- Fully automated
- Non alcoholic
Bartender
- Looks like a human
- Smells like a human
- Actually a Robot
User Interface
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec metus justo. Aliquam erat volutpat.
f{oo} bar
Console
Bartender
RMQ
Water
Soda
Coke
f{oo} bar
Console
Bartender
RMQ
Water
Soda
Coke
Demo (1)
Distributed tracing and metrics collection
- Monitoring
- Alerting
- Traceability
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)
Using Kamon
- build.sbt
- plugins.sbt
- Main.scala *
- application.conf
- logback.xml
- Url => Operation Name
Kamon
- Http4s
- Play
- Akka-Http
- Akka
- Futures
- Jdbc
- System Metrics
- ...
- Prometheus
- InfluxDB
- StatsD
- Datadog
- ...
References
- https://github.com/cmcmteixeira/foobar-tracing-demo
- https://kamon.io
- http://www.se-radio.net/2018/09/se-radio-episode-337-ben-sigelman-on-distributed-tracing/
- https://richardimaoka.github.io/blog/executor-and-execution-context/
- https://dzone.com/articles/painless-introduction-javas-threadlocal-storage
QA
Copy of Distributed Tracing 4S
By Carlos Teixeira
Copy of Distributed Tracing 4S
- 709