-
Notifications
You must be signed in to change notification settings - Fork 3
/
ridley.cabal
126 lines (118 loc) · 4.54 KB
/
ridley.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: ridley
version: 0.4.0.0
synopsis: Quick metrics to grow your app strong.
description: A collection of Prometheus metrics to monitor your app. Please see README.md
homepage: https://github.com/iconnect/ridley#README
license: BSD3
license-file: LICENSE
author: Alfredo Di Napoli & the IRIS Connect Engineering Team
maintainer: engineering@irisconnect.co.uk
copyright: 2024 IRIS Connect Ltd.
category: Web
build-type: Simple
cabal-version: >=1.10
tested-with: GHC == 9.4.7 || == 9.4.8 || == 9.6.4
extra-source-files:
cbits/helpers.c
cbits/helpers.h
flag lib-Werror
manual: True
default: False
description: Enable -Werror
flag library-only
description: Build without the executable, for downstream packages
manual: True
default: True
library
hs-source-dirs: src
exposed-modules: System.Metrics.Prometheus.Ridley
System.Metrics.Prometheus.Ridley.Types
System.Metrics.Prometheus.Ridley.Metrics.CPU
System.Metrics.Prometheus.Ridley.Metrics.DiskUsage
System.Metrics.Prometheus.Ridley.Metrics.FD
System.Metrics.Prometheus.Ridley.Metrics.Memory
System.Metrics.Prometheus.Ridley.Metrics.Network
System.Metrics.Prometheus.Ridley.Metrics.Network.Types
System.Metrics.Prometheus.Ridley.Metrics.PhysicalMemory
System.Metrics.Prometheus.Ridley.Metrics.VirtualMemory
other-modules: System.Metrics.Prometheus.Ridley.Types.Internal
if os(darwin)
c-sources: src/System/Metrics/Prometheus/Ridley/Metrics/CPU/Darwin.c
other-modules: System.Metrics.Prometheus.Ridley.Metrics.Network.Darwin
System.Metrics.Prometheus.Ridley.Metrics.CPU.Darwin
else
other-modules: System.Metrics.Prometheus.Ridley.Metrics.Network.Unix
System.Metrics.Prometheus.Ridley.Metrics.CPU.Unix
build-depends: async < 3.0.0,
auto-update >= 0.1,
base >= 4.7 && < 5,
containers < 0.7.0.0,
katip < 0.9.0.0,
wai-middleware-metrics < 0.3.0.0,
template-haskell,
ekg-core,
exceptions < 0.11,
time,
text >= 1.2.4.0,
mtl,
shelly >= 1.8.2,
safe-exceptions < 1.8,
transformers,
prometheus > 0.5.0 && < 2.3.0,
raw-strings-qq,
microlens,
microlens-th,
process,
string-conv,
ekg-prometheus-adapter >= 0.1.0.5,
inline-c,
vector,
unix,
unliftio-core
include-dirs: cbits
c-sources: cbits/helpers.c
cc-options: -Wall -std=c99
default-language: Haskell2010
if flag(lib-Werror)
ghc-options: -Wall -Werror
test-suite ridley-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, bytestring
, ridley
, tasty
, tasty-hunit
, tasty-quickcheck
, ekg-core
, prometheus
, containers
, microlens
, ekg-prometheus-adapter
, text
, string-conv
, http-client >= 0.4.30
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable ridley-example
main-is: example/Main.hs
if !flag(library-only)
build-depends: base
, time
, ridley
, katip
, text
, http-types
, wai
, wai-middleware-metrics
, warp
, microlens
, mtl
, prometheus
if flag(library-only)
buildable: False
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/iconnect/ridley