Expand description
Metrics module for Prometheus monitoring
Provides metrics collection and export functionality for the MCP server.
Structs§
- Cache
Labels - Metrics labels for cache operations
- Http
Labels - Metrics labels for HTTP requests
- Http
Request Timer - HTTP request timer
- Request
Labels - Metrics labels for request tracking
- Request
Timer - Request timer for tracking request duration
- Server
Metrics - Server metrics collection
Functions§
- global_
metrics - Get the global metrics instance, if it has been initialized.
- init_
global_ metrics - Initialize global metrics