Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Velocity setting entirely from command-line #359

Closed
danizen opened this issue Jun 20, 2017 · 1 comment
Closed

Velocity setting entirely from command-line #359

danizen opened this issue Jun 20, 2017 · 1 comment

Comments

@danizen
Copy link

danizen commented Jun 20, 2017

I think it would be good in the collectors to support a velocity setting entirely at the command-line, so that someone starting it up can override what's in the variables files.

@essiembre
Copy link
Contributor

This feature is now supported in version 3. You can pass JVM system properties when launching the application, like this:

-Dsome.variable=Example

You can rely on environment variables as well.

Variable naming resolution is quite flexible. As an example, a variable ${hostName} can be defined in any of the following ways when using system property/environment variables:

    hostName
    hostname
    HOST_NAME
    Host-Name
    host.name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants