Main function.
Main function.
(-main)
(-main config)
(-main command config & [test-name])
Start Riemann. Loads a configuration file from the first of its args.
Start Riemann. Loads a configuration file from the first of its args.
The configuration file loaded by the bin tool
The configuration file loaded by the bin tool
(handle-signals)
Sets up POSIX signal handlers.
Sets up POSIX signal handlers.
(pid)
Process identifier, such as it is on the JVM. :-/
Process identifier, such as it is on the JVM. :-/
(pom-version)
Return version from Maven POM file.
Return version from Maven POM file.
(reload!)
Reloads the given configuration file by clearing the task scheduler, shutting down the current core, and loading a new one.
Reloads the given configuration file by clearing the task scheduler, shutting down the current core, and loading a new one.
(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.
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 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 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 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.
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! file)
Sets the config file used by Riemann. Adds the config file's enclosing directory to the classpath as well.
Sets the config file used by Riemann. Adds the config file's enclosing directory to the classpath as well.
(version)
Return version from Leiningen environment or embeddd POM properties.
Return version from Leiningen environment or embeddd POM properties.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close