metricapi

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL