mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-10 02:58:39 +00:00
Add PureGym Prometheus stats (#28)
This commit is contained in:
@@ -52,6 +52,18 @@
|
||||
};
|
||||
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "gym-fullness";
|
||||
static_configs = [
|
||||
{
|
||||
# Gym 19 is London Oval
|
||||
targets = ["localhost:${toString config.services.puregym-config.port}"];
|
||||
}
|
||||
];
|
||||
params = { gym_id = ["19"]; };
|
||||
metrics_path = "/fullness-prometheus";
|
||||
scrape_interval = "5m";
|
||||
}
|
||||
{
|
||||
job_name = "node";
|
||||
static_configs = [
|
||||
|
Reference in New Issue
Block a user