forked from spences10/mcp-memory-libsql
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context: Implement minimal metrics hooks across DB and tool handlers with a no-op default recorder and optional Prometheus exporter controlled by env.
Acceptance criteria:
- Minimal Recorder interface with counters/histograms for DB ops and tools
- No-op default implementation active when METRICS_PROMETHEUS is unset
- Prometheus recorder enabled when METRICS_PROMETHEUS=true, served on METRICS_ADDR (default :9090)
- /metrics and /healthz endpoints exposed
- Latency histograms and totals for tool handlers and DB ops
- Lightweight result-size observations (sampled) and pool/stmt cache metrics
- Idempotent initialization (safe to call from multiple places)
- README updated with usage and recommended buckets
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request