mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 10:14:09 +02:00
set hostname
This commit is contained in:
parent
f8684de7f5
commit
946eb20e67
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ async fn main() -> Result<()> {
|
|||
let mdns = Responder::spawn(&Handle::current())?;
|
||||
let _svc = mdns.register(
|
||||
"_prometheus-http._tcp".into(),
|
||||
"Palantir prometheus exporter".into(),
|
||||
hostname::get()?.into_string().unwrap(),
|
||||
host_port,
|
||||
&[&"/metrics"],
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue