Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
HTTPHandler handles metrics HTTP requests.
func NewHTTPHandler ¶
func NewHTTPHandler(store *task.Store, epicLister metric.PlanningEpicLister, workerRegistry *workertracker.Registry) *HTTPHandler
NewHTTPHandler creates a new HTTPHandler.
func (*HTTPHandler) GetMetrics ¶
func (h *HTTPHandler) GetMetrics(c echo.Context) error
GetMetrics handles GET /metrics Returns a snapshot of current agent activity and performance metrics.
func (*HTTPHandler) Register ¶
func (h *HTTPHandler) Register(g *echo.Group)
Register adds the endpoints to the provided Echo router group.
Click to show internal directories.
Click to hide internal directories.