riemann.bin
Main function.
-main
(-main)
(-main config)
(-main command config & [test-name])
Start Riemann. Loads a configuration file from the first of its args.
reload!
(reload!)
Reloads the given configuration file by clearing the task scheduler, shutting down the current core, and loading a new one.
run-app!
(run-app! setup)
Start Riemann with the given setup function. The setup function is responsible for executing code that you would normally put into your riemann.config file, e.g. setting up streams.
run-tests
(run-tests test-name-pattern)
Run all tests matching test-name-pattern
. The test output will be saved in the test.output.file
value if this property is set.
run-tests-with-format
(run-tests-with-format test-name-pattern)
Run all tests matching test-name-pattern
. If the test.output.format
property is set to junit
, the test output will be JUnit compatible.
set-config-file!
(set-config-file! file)
Sets the config file used by Riemann. Adds the config file’s enclosing directory to the classpath as well.