mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): add prometheus metrics
Currently we support metrics for the Node.js runtime and HTTP endpoints.
This commit is contained in:
parent
9869f0a061
commit
e2056b4734
6 changed files with 118 additions and 5 deletions
|
|
@ -42,6 +42,9 @@ import { ConfigModule as NestConfigModule } from "@nestjs/config";
|
|||
is: Joi.valid(true),
|
||||
then: Joi.required(),
|
||||
}),
|
||||
|
||||
// Prometheus for Metrics (Optional)
|
||||
PROMETHEUS_ENABLED: Joi.boolean().default(false),
|
||||
}),
|
||||
}),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue