-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[oximeter] Rely on dynamically set arguments within Oximeter (#1237)
Part of #1216 - Provide an ID and address as a deployment, not package-time arguments - Optionally resolve Nexus and Clickhouse's IP addresses by DNS
- Loading branch information
Showing
12 changed files
with
177 additions
and
81 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
# Example configuration file for running an oximeter collector server | ||
|
||
id = "1da65e5b-210c-4859-a7d7-200c1e659972" | ||
nexus_address = "127.0.0.1:12221" | ||
|
||
[db] | ||
address = "[::1]:8123" | ||
batch_size = 1000 | ||
batch_interval = 5 # In seconds | ||
|
||
[log] | ||
level = "debug" | ||
mode = "stderr-terminal" | ||
|
||
[dropshot] | ||
bind_address = "[::1]:12223" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 10 additions & 4 deletions
14
oximeter/collector/tests/output/cmd-oximeter-noargs-stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
error: The following required arguments were not provided: | ||
<CONFIG_FILE> | ||
oximeter | ||
See README.adoc for more information | ||
|
||
USAGE: | ||
oximeter [OPTIONS] <CONFIG_FILE> | ||
oximeter <SUBCOMMAND> | ||
|
||
For more information try --help | ||
OPTIONS: | ||
-h, --help Print help information | ||
|
||
SUBCOMMANDS: | ||
help Print this message or the help of the given subcommand(s) | ||
openapi Print the external OpenAPI Spec document and exit | ||
run Start an Oximeter server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.