goutham veeramachaneni
play

Goutham Veeramachaneni @putadent Me Goutham Veeramachaneni | 2 - PowerPoint PPT Presentation

Goutham Veeramachaneni @putadent Me Goutham Veeramachaneni | 2 Debugging slow queries Cortex | 3 | 4 A few large queries are slow | 5 RED Method | 6 Soooo whats slow? Hypothesis Experiment Metrics | 7 Saving my arse since June 2018 | 8


  1. Goutham Veeramachaneni @putadent

  2. Me Goutham Veeramachaneni | 2

  3. Debugging slow queries Cortex | 3

  4. | 4

  5. A few large queries are slow | 5

  6. RED Method | 6

  7. Soooo whats slow? Hypothesis Experiment Metrics | 7

  8. Saving my arse since June 2018 | 8

  9. Soooo whats slow? | 9

  10. Soooo whats slow? | 10

  11. | 11

  12. Is Jaeger the solution to everything? | 12

  13. My new flow | 13

  14. Per environment traces? Several clusters but central jaeger ● | 14

  15. Enriching traces blog ● | 15

  16. Enriching traces Just add namespace and clustername, use env vars ● jaeger_mixin:: if $._config.jaeger_agent_host == null then {} else container.withEnvMixin([ container.envType.new('JAEGER_AGENT_HOST', $._config.jaeger_agent_host), container.envType.new('JAEGER_TAGS', 'namespace=%s,cluster=%s' % [$._config.namespace, $._config.cluster]), container.envType.new('JAEGER_SAMPLER_MANAGER_HOST_PORT', 'http://%s:5778/sampling' % $._config.jaeger_agent_host), ]), | 16

  17. Per environment traces? Several clusters but central jaeger ● Dashboard Jaeger Alerts | 17

  18. Monitoring Jaeger with Prometheus | 18

  19. We’re only scratching the surface | 19

  20. Exemplars: Seamless flow | 20

  21. Exemplars: Seamless flow | 21

  22. Exemplars: Seamless flow | 22

  23. More future Grafana has tracing built in (Jaeger being first) ● ● Integrate the logs and traces and metrics Built in UI for visualising Prometheus queries ● ● Conprof | 23

  24. Cortex | 24

  25. Recap Jaeger is awesome for debugging latency ● Alerts —> Dashboard —> Jaeger, make sure the flow works ● The jaeger_mixin helps you tame Jaeger ● Exemplars are coming! ● | 25

  26. @putadent

Recommend


More recommend