fix(smartmetrics): Refactor metrics calculation and update Prometheus integration documentation

This commit is contained in:
Juergen Kunz
2025-06-09 12:07:24 +00:00
parent 34b09ed7a7
commit 30992ea44b
6 changed files with 112 additions and 24 deletions

View File

@ -71,8 +71,8 @@ Add Prometheus metrics exposure functionality to SmartMetrics while maintaining
- [x] Clean up by calling `disablePrometheusEndpoint()`
### 10. Update Documentation
- [ ] Add usage example in readme.md for Prometheus integration
- [ ] Document the new methods in code comments
- [x] Add usage example in readme.md for Prometheus integration
- [x] Document the new methods in code comments
## Notes
- Using Node.js built-in `http` module to avoid adding unnecessary dependencies