-
Notifications
You must be signed in to change notification settings - Fork 42
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
how do you run oximeter? #1295
Comments
I meant to add: "host unreachable" is a surprising error there because v4 and v6 localhost addresses are reachable. I'm not sure where else it can be trying to reach. It'd be nice to put that into the log messages. |
I think it's likely I broke this in #1237 - I can give a shot at updating the docs |
Sorry about that @davepacheco. The address was indeed intended to be the address of ClickHouse, but it now appears to be the address of the DNS server? On |
Ah, okay. I'm following the simulated instructions and have not started a DNS server. Even though in production we're definitely going to want to use DNS names, I think it'll be quite useful to still be able to point things at individual IPs of specific services. |
Yeah, agreed. I think there needs to be an additional flag that tells the program to use a literal address, or at least something that doesn't conflate that with the location of the DNS server. A pair of mutually-exclusive arguments would be nice. |
The Oximeter configuration file is already taking both the Nexus and Clickhouse addresses as optional parameters. If not supplied, they'll use DNS. If supplied, they'll use the hard-coded address values. This was removed from the "example" config file, but should not have been. I'll add it back, and update the docs in a follow-up PR. |
I was running through the simulated how-to instructions and got to running oximeter:
help
says:I guess this changed to use the
run
subcommand.It's also got new required arguments. What are those?
I'm not sure what that's supposed to be the address or id for. I guessed that this was a unique id for the oximeter instance (similar to sled agent) and I gathered from the source history that "address" is a Nexus address (though I'm not sure if it's internal or external API). So I tried:
I guess this has to be a v6 address. But my Nexus is listening on these addresses:
There seems to be an inconsistency here: we allow Nexus to only listen on v4 and the simulated Sled Agent seems okay with that but Oximeter requires it to be on v6.
Just to see what would happen, I gave
'[::1]:12221'
-- this shouldn't succeed because Nexus is only listening on v4. But it failed differently than I expected:It's failing to connect to clickhouse and the error is "no route to host". I wondered if the address on the command line was supposed to be the Clickhouse address so I tried giving
[::1]:8123
with the same result (after confirming that the ClickHouse pid is listening on[::1]:8123
).I think I did a bunch of things wrong here but I think there are a few issues here:
run
subcommand and provide theid
andaddress
id
andaddress
args areI'm happy to fix the docs and help output but I wasn't sure what to do about the v4 vs. v6 address so I haven't gotten any of it working yet.
The text was updated successfully, but these errors were encountered: