Documentation
¶
Index ¶
- type Metrics
- func (m *Metrics) Handler() http.Handler
- func (m *Metrics) McpReqDone(method string, since time.Time)
- func (m *Metrics) McpReqStart(method string)
- func (m *Metrics) Middleware() gin.HandlerFunc
- func (m *Metrics) ToolExecDone(toolName string, since time.Time, status *string)
- func (m *Metrics) ToolExecStart(toolName string)
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) McpReqStart ¶
func (*Metrics) Middleware ¶
func (m *Metrics) Middleware() gin.HandlerFunc
func (*Metrics) ToolExecDone ¶
func (*Metrics) ToolExecStart ¶
Click to show internal directories.
Click to hide internal directories.