rico0: scrape metrics from caddy

This commit is contained in:
Adithya 2024-09-14 20:28:26 +05:30
parent 1410e280f4
commit d986c279e0
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -26,6 +26,17 @@ in
} }
]; ];
scrapeConfigs = [ scrapeConfigs = [
{
job_name = "caddy";
metrics_path = "/caddy-metrics";
static_configs = [
{ targets = [ "rico0.labs.adtya.xyz" ]; }
{ targets = [ "rico1.labs.adtya.xyz" ]; }
{ targets = [ "rico2.labs.adtya.xyz" ]; }
{ targets = [ "wynne.labs.adtya.xyz" ]; }
{ targets = [ "layne.labs.adtya.xyz" ]; }
];
}
{ {
job_name = "postgres"; job_name = "postgres";
scheme = "https"; scheme = "https";