Skip to content

Conversation

@denysvitali-kaiko
Copy link
Contributor

Add OpenTelemetry-based Prometheus metrics for performance monitoring. Metrics are disabled by default and can be enabled via METRICS_ENABLED=true.

Metrics exposed:

  • http_requests_total: Total HTTP requests by method/route/status
  • http_request_duration_seconds: Request latency histogram
  • cache_operations_total: Cache hit/miss/create operations
  • storage_operations_total: Storage adapter operations
  • storage_operation_duration_seconds: Storage operation latency
  • db_queries_total: Database query count by table
  • db_query_duration_seconds: Query latency histogram

Closes #72


Note

Completely written by Claude Opus 4.5 using Claude Code v2.1.29

denysvitali-kaiko and others added 3 commits February 2, 2026 09:45
Add OpenTelemetry-based Prometheus metrics for performance monitoring.
Metrics are disabled by default and can be enabled via METRICS_ENABLED=true.

Metrics exposed:
- http_requests_total: Total HTTP requests by method/route/status
- http_request_duration_seconds: Request latency histogram
- cache_operations_total: Cache hit/miss/create operations
- storage_operations_total: Storage adapter operations
- storage_operation_duration_seconds: Storage operation latency
- db_queries_total: Database query count by table
- db_query_duration_seconds: Query latency histogram

Closes falcondev-oss#72

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add application-level byte transfer tracking for uploads and downloads
with comprehensive Grafana dashboard visualization.

Changes:
- Add cache_bytes_uploaded_total and cache_bytes_downloaded_total metrics
- Instrument upload/download paths with byte counting transforms
- Add new "Data Transfer" dashboard section with 7 panels
- Update Container Resources row (collapsed by default)

The implementation uses Transform streams to accurately count bytes
across all storage adapters (S3, GCS, filesystem) without double-counting.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Fix import order in storage.ts (type imports first)
- Apply Prettier formatting to storage.ts and dashboard.json

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat Request : Expose metrics prometheus to see the performance .

1 participant