tyo0/prometheus: use https scraping
This commit is contained in:
parent
6bb4bfad43
commit
1d0f2f9ccb
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ in
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "node_exporter";
|
job_name = "node_exporter";
|
||||||
|
scheme = "https";
|
||||||
metrics_path = "/metrics";
|
metrics_path = "/metrics";
|
||||||
basic_auth = {
|
basic_auth = {
|
||||||
username = "prometheus";
|
username = "prometheus";
|
||||||
|
@ -40,6 +41,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
job_name = "caddy";
|
job_name = "caddy";
|
||||||
|
scheme = "https";
|
||||||
metrics_path = "/caddy";
|
metrics_path = "/caddy";
|
||||||
basic_auth = {
|
basic_auth = {
|
||||||
username = "prometheus";
|
username = "prometheus";
|
||||||
|
|
Loading…
Reference in a new issue