All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- In middleware, call next() if path is not under monitoring
http_requests_total
only count the number of requests received
- new options
PromModule.forRoot
withDefaultsMetrics: boolean (default true)
enable defaultMetrics provided by prom-clientwithDefaultController: boolean (default true)
add internal controller to expose /metrics endpointsuseHttpCounterMiddleware: boolean (default false)
register http_requests_total counter
- Provide
http_requests_total
counter ifuseHttpCounterMiddleware
enabled- ignore
/metrics
- ignore
/favicon.ico
- ignore
- Provide default counter with
/metrics
endpoint ifwithDefaultController
enabled - Example folder
- Initial version
- Setup Changelog
- Setup README
- Adding metrics type
- Counter
- Gauge
- Histogram
- Summary