Skip to content

Commit

Permalink
fix: rename metrics endpoint to default-metrics (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dara Hayes committed Feb 16, 2018
1 parent 7570660 commit 79062a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/web/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewRouter() *mux.Router {
}

func MetricsRoute(r *mux.Router, handler *metricsHandler) {
r.HandleFunc("/metrics", handler.CreateMetric).Methods("POST")
r.HandleFunc("/default-metrics", handler.CreateMetric).Methods("POST")
}

func HealthzRoute(r *mux.Router, handler *healthHandler) {
Expand Down

0 comments on commit 79062a5

Please sign in to comment.