tyo0/prometheus: use https scraping

This commit is contained in:
Guanran Wang 2024-11-03 19:23:16 +08:00
parent 6bb4bfad43
commit 1d0f2f9ccb
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -31,6 +31,7 @@ in
scrapeConfigs = [
{
job_name = "node_exporter";
scheme = "https";
metrics_path = "/metrics";
basic_auth = {
username = "prometheus";
@ -40,6 +41,7 @@ in
}
{
job_name = "caddy";
scheme = "https";
metrics_path = "/caddy";
basic_auth = {
username = "prometheus";