all repos — homestead @ cbca7c4126ed0fb5963ff4401f648d879cb1905a

Code for my website

Don't try to collect default metrics that don't work in Bun

Alan Pearce
commit

cbca7c4126ed0fb5963ff4401f648d879cb1905a

parent

963558196ec0f9d337923e2ebda7aad9740d209e

1 file changed, 0 insertions(+), 8 deletions(-)

jump to
M src/index.tssrc/index.ts
@@ -29,14 +29,6 @@ size: number;
mtime: Date; }; -const collectDefaultMetrics = prom.collectDefaultMetrics; -collectDefaultMetrics({ - labels: { - FLY_APP_NAME: Bun.env.FLY_APP_NAME, - FLY_ALLOC_ID: Bun.env.FLY_ALLOC_ID, - FLY_REGION: Bun.env.FLY_REGION, - }, -}); const metrics = { requestsByStatus: new prom.Counter({ name: "homestead_requests_by_status",