Skip to content

Commit

Permalink
WIP: Refactor server
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 6, 2024
1 parent 31685a7 commit 065c494
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/autoscaler/healthendpoint/server.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
package healthendpoint

// package healthendpoint runs the health endpoint server for diferent autoscaler components
//
// The health endpoint server is used to expose the health
// and readiness check endpoints for the autoscaler components.
//
// It provides the following functionalities:
// - Expose the health and readiness check endpoints
// - Expose the prometheus metrics
// - Expose the pprof endpoints
// - Basic authentication for health and readiness check endpoints
// - Basic authentication for pprof endpoints
// - Basic authentication for prometheus metrics
//
// The healthendpoint package provide the following checkers:
// - NewHTTPChecker
// - NewTCPChecker
// - NewDatabaseChecker
//
// The health endpoint server is used by the following autoscaler components:
// - metricsforwarder
// - scalingengine
// - eventgenerator
// - scheduler

import (
"net/http"
"net/http/pprof"
Expand Down

0 comments on commit 065c494

Please sign in to comment.