metrics

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.MetricsConfig) *Metrics

func (*Metrics) Handler

func (m *Metrics) Handler() http.Handler

func (*Metrics) McpReqDone

func (m *Metrics) McpReqDone(method string, since time.Time)

func (*Metrics) McpReqStart

func (m *Metrics) McpReqStart(method string)

func (*Metrics) Middleware

func (m *Metrics) Middleware() gin.HandlerFunc

func (*Metrics) ToolExecDone

func (m *Metrics) ToolExecDone(toolName string, since time.Time, status *string)

func (*Metrics) ToolExecStart

func (m *Metrics) ToolExecStart(toolName string)

Jump to

Keyboard shortcuts

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