akko: enable prometheus
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
d360681e66
commit
682cf975f1
|
@ -13,7 +13,6 @@ in {
|
||||||
};
|
};
|
||||||
":pleroma"."Pleroma.Web.Endpoint.MetricsExporter" = {
|
":pleroma"."Pleroma.Web.Endpoint.MetricsExporter" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
auth = false;
|
|
||||||
format = mkRaw ":text";
|
format = mkRaw ":text";
|
||||||
path = "/api/pleroma/app_metrics";
|
path = "/api/pleroma/app_metrics";
|
||||||
};
|
};
|
||||||
|
|
|
@ -78,6 +78,12 @@
|
||||||
job_name = "pneuma";
|
job_name = "pneuma";
|
||||||
static_configs = [{ targets = [ "pneuma:9100" ]; }];
|
static_configs = [{ targets = [ "pneuma:9100" ]; }];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "akkoma";
|
||||||
|
scheme = "https";
|
||||||
|
metrics_path = "/api/pleroma/app_metrics";
|
||||||
|
static_configs = [{ targets = [ "akko.within.website" ]; }];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
exporters = {
|
exporters = {
|
||||||
|
|
Loading…
Reference in New Issue