Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Open Tracing, to order and understand your mess. - ApiConf 2017

422 views

Published on

This about how many api calls your applications were doing 3-4 years ago, and think about how many integration and difference services your requests is crossing before to come back to the final destination. How do you know this step of your pipeline is taking too much time? What is taking 2 seconds to answer? Is it the authentication service? Maybe it's the invoice generation service or the notification platform. Open Tracing is a distributed tracing cross vendor and open source that help you to understand bottleneck and to profile the requests from where they arrive at the final user. In an ecosystem where microservices and as a service concept are growing this can be a real challenge. During this presentation, we will see how it works from a general point of view to land in some real implementation, examples, and demo.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Open Tracing, to order and understand your mess. - ApiConf 2017

  1. 1. © 2017 InfluxData. All rights reserved.1 Open Tracing, to order and understand your mess @gianarb
  2. 2. I was just waiting for a new standard! cit. Troll
  3. 3. © 2017 InfluxData. All rights reserved.3 Typical problems with logs ¨ Which library do I need to use? ¨ Every library has a different format ¨ Every languages exposes a different format
  4. 4. © 2017 InfluxData. All rights reserved.4 Tracing is not something new ¨ There are vendors ¨ Every vendor has their own format
  5. 5. © 2017 InfluxData. All rights reserved.5 Every ten years, history repeats itself but now ¨ Microservices ¨ Polyglot architecture ¨ A different distribution
  6. 6. How do you “tell stories” about concurrent systems?
  7. 7. © 2017 InfluxData. All rights reserved.7 log log log log log log Parent Span Span Context / Baggage Child Child Child Span ¨ Spans - Basic unit of timing and causality. Can be tagged with key/value pairs. ¨ Logs - Structured data recorded on a span. ¨ Span Context - serializable format for linking spans across network boundaries. Carries baggage, such as a request and client IDs. ¨ Tracers - Anything that plugs into the OpenTracing API to record information. ¨ ZipKin, Jaeger, LightStep, others ¨ Also metrics (Prometheus) and logging
  8. 8. © 2017 InfluxData. All rights reserved.8 OpenTracing API application logic µ-service frameworks Lambda functions RPC & control-flow frameworks existing instrumentation tracing infrastructure main() I N S T A N A J a e g e r microservice process
  9. 9. © 2017 InfluxData. All rights reserved.9 1.5 year old! Tracer implementations: Zipkin, Jaeger, LightStep, SkyWalking, others All sorts of companies use OpenTracing:
  10. 10. © 2017 InfluxData. All rights reserved.10 Rapidly growing OSS and vendor adoption JDBIJava Webservlet Jaxr
  11. 11. © 2017 InfluxData. All rights reserved.11 Some use cases ¨ Microservices ¨ Cache vs. Cache Miss ¨ Parallel vs Sequentially ¨ Queue system
  12. 12. © 2017 InfluxData. All rights reserved.12 Enterprise Edition Telegraf Kapacitor InfluxDB Chronograf InfluxDB and OpenTracing?!
  13. 13. © 2017 InfluxData. All rights reserved.13 InfluxDB and OpenTracing?! Implement a comfortable solution to store and quickly manipulate all your traces.
  14. 14. Cardinality everywhere! Monitoring, events, traces… All time series, but they are different!
  15. 15. © 2017 InfluxData. All rights reserved.15 There are different information that you can get from traces. In real time and not. Providing a good way to store data without the ability to visualize them is not the point. Visualisation
  16. 16. © 2017 InfluxData. All rights reserved.16 Netflix - https://youtu.be/Q4nniyAarbs?t=31m58s PS I don’t know if it’s using OpenTracing (probably not) but it’s a nice visualisation.
  17. 17. © 2017 InfluxData. All rights reserved.17
  18. 18. Questions? @gianarb Site Reliability Engineer at InfluxData Thanks OpenTracing for the support.

×