Skip to content

Commit

Permalink
Use more descriptive naming
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmoisey committed Sep 5, 2024
1 parent 679d6bd commit e4fc614
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/admission-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func main() {
metrics_admission.Register()

go func() {
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler")
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler-admission-controller")

if *enableProfiling {
routes.Profiling{}.Install(pathRecorderMux)
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/recommender/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func main() {
metrics_quality.Register()

go func() {
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler")
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler-recommender")

if *enableProfiling {
routes.Profiling{}.Install(pathRecorderMux)
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/updater/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {
healthCheck := metrics.NewHealthCheck(*updaterInterval * 5)

go func() {
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler")
pathRecorderMux := mux.NewPathRecorderMux("vertical-pod-autoscaler-updater")

if *enableProfiling {
routes.Profiling{}.Install(pathRecorderMux)
Expand Down

0 comments on commit e4fc614

Please sign in to comment.