Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitoringController ¶
type MonitoringController struct { Shutdown chan bool ShutdownComplete chan bool // contains filtered or unexported fields }
func NewMonitoringController ¶
func (*MonitoringController) Metrics ¶
func (m *MonitoringController) Metrics() *PromMetrics
func (*MonitoringController) Start ¶
func (m *MonitoringController) Start() error
type MonitoringServer ¶
type MonitoringServer struct { }
func NewMonitoringServer ¶
func NewMonitoringServer() (*MonitoringServer, error)
func (*MonitoringServer) ServeHTTP ¶
func (s *MonitoringServer) ServeHTTP(res http.ResponseWriter, req *http.Request)
type PromMetrics ¶
type PromMetrics struct { TotalResponseTimes *prometheus.SummaryVec UpstreamResponseTimes *prometheus.SummaryVec Errors *prometheus.CounterVec }
func (*PromMetrics) Init ¶
func (m *PromMetrics) Init()
Click to show internal directories.
Click to hide internal directories.