2 name: jaeger-flamegraph
6 copyright: (c) 2018 Symbiont.io
7 maintainer: Sam Halliday
9 tested-with: ghc ^>=8.4.4 || ^>=8.6.2
10 bug-reports: https://github.com/symbiont-io/jaeger-flamegraph/pulls
11 synopsis: Generate flamegraphs from Jaeger .json dumps.
13 This is a small tool to convert JSON dumps obtained from a Jaeger
14 server (<https://www.jaegertracing.io/>) into a format consumable
15 by [FlameGraph](https://github.com/brendangregg/FlameGraph).
17 First download the traces for your SERVICE limiting to LIMIT traces
19 > $ curl http://your-jaeger-installation/api/traces?service=SERVICE&limit=LIMIT > input.json
21 using the [undocumented Jaeger API](https://github.com/jaegertracing/jaeger/issues/456#issuecomment-412560321)
22 then use @jaeger-flamegraph@ to convert the data and send to @flamegraph.pl@
24 > $ jaeger-flamegraph -f input.json | flamegraph.pl > output.svg
29 source-repository head
31 location: https://github.com/symbiont-io/jaeger-flamegraph
34 exposed-modules: Interval
35 hs-source-dirs: library
36 default-language: Haskell2010
37 ghc-options: -Wall -Werror=missing-home-modules
39 base ^>=4.11.1.0 || ^>=4.12.0.0,
40 QuickCheck ^>=2.12.6.1
42 executable jaeger-flamegraph
45 default-language: Haskell2010
46 ghc-options: -Wall -Werror=missing-home-modules -threaded
48 base ^>=4.11.1.0 || ^>=4.12.0.0,
50 bytestring ^>=0.10.8.2,
51 containers ^>=0.6.0.1,
54 optparse-applicative ^>=0.14.3.0,
58 type: exitcode-stdio-1.0
60 build-tool-depends: tasty-discover:tasty-discover ^>=4.2.1
62 other-modules: IntervalTest
63 default-language: Haskell2010
64 ghc-options: -Wall -Werror=missing-home-modules -threaded
66 base ^>=4.11.1.0 || ^>=4.12.0.0,
70 tasty-quickcheck ^>=0.10