2 name: jaeger-flamegraph
4 synopsis: Generate flamegraphs from Jaeger .json dumps.
8 maintainer: Sam Halliday
9 copyright: (c) 2018 Symbiont.io
10 bug-reports: https://github.com/symbiont-io/jaeger-flamegraph/pulls
11 tested-with: GHC ^>= 8.4.4 || ^>= 8.6.2
14 This is a small tool to convert JSON dumps obtained from a Jaeger
15 server (<https://www.jaegertracing.io/>) into a format consumable
16 by [FlameGraph](https://github.com/brendangregg/FlameGraph).
18 First download the traces for your SERVICE limiting to LIMIT traces
20 > $ curl http://your-jaeger-installation/api/traces?service=SERVICE&limit=LIMIT > input.json
22 using the [undocumented Jaeger API](https://github.com/jaegertracing/jaeger/issues/456#issuecomment-412560321)
23 then use @jaeger-flamegraph@ to convert the data and send to @flamegraph.pl@
25 > $ jaeger-flamegraph -f input.json | flamegraph.pl > output.svg
28 source-repository head
30 location: https://github.com/symbiont-io/jaeger-flamegraph
32 -- https://www.haskell.org/cabal/users-guide/cabal-projectindex.html
35 build-depends: , base ^>= 4.11.1.0 || ^>= 4.12.0.0
37 -Werror=missing-home-modules
38 default-language: Haskell2010
40 executable jaeger-flamegraph
44 build-depends: , jaeger-flamegraph
45 , bytestring ^>= 0.10.8.2
46 , containers ^>= 0.6.0.1
49 , optparse-applicative ^>= 0.14.3.0
51 ghc-options: -threaded
55 hs-source-dirs: library
56 exposed-modules: Interval
57 build-depends: , QuickCheck ^>= 2.12.6.1
62 type: exitcode-stdio-1.0
64 other-modules: IntervalTest
65 build-depends: , jaeger-flamegraph
67 , tasty-hspec ^>= 1.1.5
68 , tasty-quickcheck ^>= 0.10
69 build-tool-depends: tasty-discover:tasty-discover ^>= 4.2.1
70 ghc-options: -threaded