Expand description
Metrics module for the application.
- This module contains the global Prometheus registry.
- Defines specific metrics for the application.
Modules§
- This defines the Middleware to collect metrics for the application. This middleware will increment the request counter for each request for each endpoint.
Structs§
Functions§
- Gather all metrics and encode into the provided format.
- Updates the system metrics for CPU and memory usage.