Slide 1

Slide 1 text

Ronak Banka TRACING MATTERS! devopsdays.org/singapore | @devopsdaysSG

Slide 2

Slide 2 text

HOW TRACING WORKS & DEMO WHAT IS DISTRIBUTED TRACING? WHY DISTRIBUTED TRACING? 01 02 AGENDA 03

Slide 3

Slide 3 text

WHY DISTRIBUTED TRACING?

Slide 4

Slide 4 text

LACK OF VISIBILITY!

Slide 5

Slide 5 text

WHY HAPPENED? • Users are Scaling at a Rapid Speed. • Engineering Organizations are Scaling to Ship Business Value Faster • Monoliths are getting transformed to Microservices

Slide 6

Slide 6 text

MICROSERVICES ARCHITECTURE CAN GET VERY COMPLEX!

Slide 7

Slide 7 text

With More Complexity, comes more Failure Scenarios!

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

BUT We have Monitoring in Place!! WHY Do we even need Tracing based Observability?

Slide 10

Slide 10 text

Monitoring is about what we Already Know, Observability is about Answering questions!

Slide 11

Slide 11 text

● If a request failed, where did the errors happen? ● If there is latency in the app, where are the bottlenecks? ● When Processing a request, which all other services are involved and what they did? ● Performance Behaviors ● Root Cause Analysis in case of an Incident? Distributed Tracing can Answer

Slide 12

Slide 12 text

WHAT IS DISTRIBUTED TRACING?

Slide 13

Slide 13 text

Distributed tracing refers to methods of observing requests as they propagate through distributed systems It is also a diagnostic technique that reveals how a set of services coordinate to handle individual user requests.

Slide 14

Slide 14 text

• Trace represents an end-to-end request; made up of single or multiple spans • Span represents work done by a single-service with time intervals and associated metadata; the building blocks of a trace • Tags metadata to help contextualize a span CONCEPTS OF TRACING?

Slide 15

Slide 15 text

● Trace Identifier: trace_id is generated in the root span and is immutable. ● Parent Identifier: span_id of the parent span that spawned the current operation HOW ARE TRACES CONNECTED? Source: https://blog.sentry.io/distributed-tracing-101-for-full-stack-

Slide 16

Slide 16 text

Various Tracing Tools

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Confidential and proprietary. © Temus Pte Ltd 2022 22 Service Map

Slide 19

Slide 19 text

Confidential and proprietary. © Temus Pte Ltd 2022 24 Traces

Slide 20

Slide 20 text

Confidential and proprietary. © Temus Pte Ltd 2022 25 Metrics