Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move /metrics endpoint to a dedicated port
The `/metrics` endpoint was previously exposed on the same port as the public API, which could potentially expose internal monitoring data to external users. Since this endpoint is intended for internal use and Prometheus monitoring, it should not be publicly accessible. This commit introduces a separate server listener for Prometheus metrics, binding it to a dedicated port (default: 127.0.0.1:3001), ensuring that it remains private
- Loading branch information