Skip to content

Latest commit

 

History

History
116 lines (79 loc) · 2.8 KB

2020-01-18-<Cound-Native-Bangalore>-<Observability-Analysis>.md

File metadata and controls

116 lines (79 loc) · 2.8 KB

OpenTelemetry + Jaeger

Container Meetup, Bangalore


  • Reckonsys
  • Optimistic Nihilist.
  • Wannabe Astrophysicist.
  • I code for fun & profit.
  • I love Science, Python, FOSS & fitness.
  • Dad of 2. Environmentalist. Story Teller. Gamer.
  • Jack of all trades & Master of none
  • http://dhilipsiva.com
  • dhilipsiva@pm.me

I have no idea what I am talking about 😜


Why Distributed Tracing?

  • Distributed microservices
  • Hard to debug process flow in conventional tracing
  • context propagation

OpenTracing + OpenCensus

=

OpenTelemetry


Before we get started

  • It's okay to not know python for this talk. You can use the same prinsiples in other languages too
  • How many of you are comfortable with containers?
  • How many of you are comfortable with gRPC?
  • Have anyone use traefik before?

Specification 101

  • Span
  • Traces
  • SpanContext

OpenTelemetry Data Model

Causal relationships between Spans in a single Trace


        [Span A]  ←←←(the root span)
            |
     +------+------+
     |             |
 [Span B]      [Span C] ←←←(Span C is a `ChildOf` Span A)
     |             |
 [Span D]      +---+-------+
               |           |
           [Span E]    [Span F] >>> [Span G] >>> [Span H]
                                       ↑
                                       ↑
                                       ↑
                         (Span G `FollowsFrom` Span F)

Visualize Traces with a time axis

Temporal relationships between Spans in a single Trace


––|–––––––|–––––––|–––––––|–––––––|–––––––|–––––––|–> time

 [Span A············································]
   [Span B·······································]
      [Span D··································]
    [Span C·································]
         [Span E·······]  [Span F··] [Span G··] [Span H··]

Demo


Thanks! 🙏

This copy is released under the MIT License

Source Code SlideShare Link

Questions:question:

http://dhilipsiva.com dhilipsiva@pm.me