Versions in this module Expand all Collapse all v1 v1.6.1 Apr 26, 2026 v1.6.0 Apr 22, 2026 Changes in this version + const ObservePoolCallbackInterval + func EchoMiddleware(cfg *models.Config) echo.MiddlewareFunc + func EchoRoutePattern(c interface{ ... }) string + func HTTPInFlightDelta(ctx context.Context, cfg *models.Config, endpoint string, delta int64) + func LatencyBuckets() []float64 + func MetricsEnabled(cfg *models.Config) bool + func RecordCacheRequest(ctx context.Context, cfg *models.Config, layer, result string) + func RecordDBOperation(ctx context.Context, cfg *models.Config, engine, op string, err error, ...) + func RecordDDLApply(ctx context.Context, cfg *models.Config, engine, kind string, err error, ...) + func RecordFunctionExecute(ctx context.Context, cfg *models.Config, plugin string, err error, ...) + func RecordGraphQLOperation(ctx context.Context, cfg *models.Config, surface, operation, opName string, ...) + func RecordHTTPRequest(ctx context.Context, cfg *models.Config, endpoint, method string, status int, ...) + func RecordKVRequest(ctx context.Context, cfg *models.Config, op string, err error, d time.Duration) + func RecordPoolAcquire(ctx context.Context, cfg *models.Config, projectID, engine string, err error, ...) + func RecordQueueConsume(ctx context.Context, cfg *models.Config, queue string, err error, ...) + func RecordQueueEnqueue(ctx context.Context, cfg *models.Config, queue string, err error) + func RecordRESTToGraphQL(ctx context.Context, cfg *models.Config, model, method string, status int, ...) + func RecordSessionValidate(ctx context.Context, cfg *models.Config, result string, d time.Duration) + func RegisterConnectionManagerObservers(cfg *models.Config, cm ConnectionPoolStats) + func StatusString(code int) string + func WrapProjectDBWithMetrics(cfg *models.Config, engine string, inner interfaces.ProjectDBInterface) interfaces.ProjectDBInterface + type ConnectionPoolStats interface + GetDetailedStats func() map[string]interface{}