Goutham Veeramachaneni @putadent Me Goutham Veeramachaneni | 2 - - PowerPoint PPT Presentation
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
Me
Goutham Veeramachaneni | 2
Debugging slow queries
Cortex | 3
| 4
A few large queries are slow
| 5
RED Method
| 6
Soooo whats slow?
| 7
Hypothesis Metrics Experiment
Saving my arse since June 2018
| 8
Soooo whats slow?
| 9
Soooo whats slow?
| 10
| 11
Is Jaeger the solution to everything?
| 12
My new flow
| 13
Per environment traces?
| 14
- Several clusters but central jaeger
Enriching traces
| 15
- blog
Enriching traces
| 16
- 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), ]),
Per environment traces?
- Several clusters but central jaeger
| 17
Alerts Dashboard Jaeger
Monitoring Jaeger with Prometheus
| 18
We’re only scratching the surface
| 19
Exemplars: Seamless flow
| 20
Exemplars: Seamless flow
| 21
Exemplars: Seamless flow
| 22
More future
| 23
- Grafana has tracing built in (Jaeger being first)
- Integrate the logs and traces and metrics
- Built in UI for visualising Prometheus queries
- Conprof
Cortex | 24
Recap
| 25
- Jaeger is awesome for debugging latency
- Alerts —> Dashboard —> Jaeger, make sure the flow works
- The jaeger_mixin helps you tame Jaeger
- Exemplars are coming!