Compare commits
2 commits
97b6da89b3
...
c2d23ee3a1
Author | SHA1 | Date | |
---|---|---|---|
c2d23ee3a1 | |||
3306f46b87 |
2 changed files with 0 additions and 34 deletions
configuration/services/metrics
|
@ -20,16 +20,6 @@ in
|
||||||
timeout = "5s";
|
timeout = "5s";
|
||||||
http.preferred_ip_protocol = "ip4";
|
http.preferred_ip_protocol = "ip4";
|
||||||
};
|
};
|
||||||
|
|
||||||
turn_server = {
|
|
||||||
prober = "tcp";
|
|
||||||
timeout = "5s";
|
|
||||||
tcp = {
|
|
||||||
preferred_ip_protocol = "ip4";
|
|
||||||
source_ip_address = "116.202.158.55";
|
|
||||||
tls = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,30 +40,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
blackbox_turn = {
|
|
||||||
targets = [ "turn.tlater.net:${toString config.services.coturn.tls-listening-port}" ];
|
|
||||||
|
|
||||||
extraSettings = {
|
|
||||||
metrics_path = "/probe";
|
|
||||||
params.module = [ "turn_server" ];
|
|
||||||
|
|
||||||
relabel_configs = [
|
|
||||||
{
|
|
||||||
source_labels = [ "__address__" ];
|
|
||||||
target_label = "__param_target";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
source_labels = [ "__param_target" ];
|
|
||||||
target_label = "instance";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
target_label = "__address__";
|
|
||||||
replacement = "${blackbox_host}:${toString blackbox_port}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
blackbox_exporter.targets = [ "${blackbox_host}:${toString blackbox_port}" ];
|
blackbox_exporter.targets = [ "${blackbox_host}:${toString blackbox_port}" ];
|
||||||
|
|
||||||
coturn.targets = [ "127.0.0.1:9641" ];
|
coturn.targets = [ "127.0.0.1:9641" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue