Merge pull request #10599 from cabalism/typo/depency
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / jaeger-flamegraph.format
blob21f0adf1b543ed8a7d5aea168bd334e03c56f8e2
1 cabal-version: 2.2
2 name:          jaeger-flamegraph
3 version:       1.0.0
4 license:       BSD-3-Clause
5 license-file:  LICENSE
6 copyright:     (c) 2018 Symbiont.io
7 maintainer:    Sam Halliday
8 author:        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.
12 description:
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).
16     .
17     First download the traces for your SERVICE limiting to LIMIT traces
18     .
19     > $ curl http://your-jaeger-installation/api/traces?service=SERVICE&limit=LIMIT > input.json
20     .
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@
23     .
24     > $ jaeger-flamegraph -f input.json | flamegraph.pl > output.svg
25     .
27 category:      Testing
29 source-repository head
30     type:     git
31     location: https://github.com/symbiont-io/jaeger-flamegraph
33 library
34     exposed-modules:  Interval
35     hs-source-dirs:   library
36     default-language: Haskell2010
37     ghc-options:      -Wall -Werror=missing-home-modules
38     build-depends:
39         base ^>=4.11.1.0 || ^>=4.12.0.0,
40         QuickCheck ^>=2.12.6.1
42 executable jaeger-flamegraph
43     main-is:          Main.hs
44     hs-source-dirs:   exe
45     default-language: Haskell2010
46     ghc-options:      -Wall -Werror=missing-home-modules -threaded
47     build-depends:
48         base ^>=4.11.1.0 || ^>=4.12.0.0,
49         jaeger-flamegraph,
50         bytestring ^>=0.10.8.2,
51         containers ^>=0.6.0.1,
52         extra ^>=1.6.13,
53         aeson ^>=1.4.1.0,
54         optparse-applicative ^>=0.14.3.0,
55         text ^>=1.2.3.1
57 test-suite tests
58     type:               exitcode-stdio-1.0
59     main-is:            Driver.hs
60     build-tool-depends: tasty-discover:tasty-discover ^>=4.2.1
61     hs-source-dirs:     test
62     other-modules:      IntervalTest
63     default-language:   Haskell2010
64     ghc-options:        -Wall -Werror=missing-home-modules -threaded
65     build-depends:
66         base ^>=4.11.1.0 || ^>=4.12.0.0,
67         jaeger-flamegraph,
68         tasty ^>=1.1.0.4,
69         tasty-hspec ^>=1.1.5,
70         tasty-quickcheck ^>=0.10