-
Notifications
You must be signed in to change notification settings - Fork 15
Compiling with flags set
Alexander Diemand edited this page May 31, 2019
·
4 revisions
There are a number of flags possible to set when compiling this project.
- disable-aggregation
- disable-ekg
- disable-prometheus
- disable-gui
- disable-monitoring
- disable-observables
When the flag is set, the corresponding subsystem is turned off. This also has the effect that the dependencies that need to be built and included with this project are reduced, depending on the subsystem that got turned off.
cabal new-build --constraint="iohk-monitoring +disable-ekg"
or set in your cabal.project
or cabal.project.local
:
constraints: iohk-monitoring +disable-ekg
stack build --flag iohk-monitoring:disable-ekg
or set in stack.yaml
:
flags:
iohk-monitoring:
disable-ekg: true