Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a http server
func (*Server) EnableHealthzEndpoint ¶
func (s *Server) EnableHealthzEndpoint()
EnableHealthzEndpoint enables healthz endpoint
func (*Server) EnableMetricsEndpoint ¶
func (s *Server) EnableMetricsEndpoint()
EnableMetricsEndpoint enables metrics endpoint
func (*Server) EnablePProfEndpoint ¶
func (s *Server) EnablePProfEndpoint()
EnablePProfEndpoint enables pprof endpoint for debugging
func (*Server) EnablePyroAgent ¶
EnablePyroAgent enables pyroscope agent in golang push mode TODO: make this configurable
func (*Server) MetricsEndpointEnabled ¶
MetricsEndpointEnabled returns true if metrics endpoint is enabled
Click to show internal directories.
Click to hide internal directories.