mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
/metric exposes Promethus compatible data for scraping metrics Fixes: #5723
This commit is contained in:
committed by
Harshavardhana
parent
9f31da5d57
commit
9ebb72aa99
@@ -119,6 +119,9 @@ func configureServerHandler(endpoints EndpointList) (http.Handler, error) {
|
||||
// Add healthcheck router
|
||||
registerHealthCheckRouter(mux)
|
||||
|
||||
// Add server metrics router
|
||||
registerMetricsRouter(mux)
|
||||
|
||||
// Register web router when its enabled.
|
||||
if globalIsBrowserEnabled {
|
||||
if err := registerWebRouter(mux); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user