Skip to content

feat: Add Prometheus metrics endpoint for Grafana monitoring#141

Merged
ayomideadeniran merged 1 commit intoSoroLabs:mainfrom
Prz-droid:feature/prometheus-metrics
Mar 29, 2026
Merged

feat: Add Prometheus metrics endpoint for Grafana monitoring#141
ayomideadeniran merged 1 commit intoSoroLabs:mainfrom
Prz-droid:feature/prometheus-metrics

Conversation

@Prz-droid
Copy link
Copy Markdown
Contributor

close #108

- Integrate prom-client for Prometheus format metrics
- Expose /metrics/prometheus endpoint with key operational metrics
- Add counters: tasks_checked, tasks_due, tasks_executed, tasks_failed
- Add gauges: avg_fee_paid, cycle_duration, low_gas_count, uptime, rpc_connected
- Include default Node.js process metrics (CPU, memory, event loop)
- Maintain backward compatibility with JSON /metrics endpoint
- Add comprehensive documentation and Grafana dashboard example
- Add test coverage for Prometheus integration
@ayomideadeniran
Copy link
Copy Markdown
Contributor

Pr under review.

2 similar comments
@ayomideadeniran
Copy link
Copy Markdown
Contributor

Pr under review.

@ayomideadeniran
Copy link
Copy Markdown
Contributor

Pr under review.

@ayomideadeniran ayomideadeniran merged commit e68c6b9 into SoroLabs:main Mar 29, 2026
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.

[Infra] Implement Prometheus Metrics Export for Keeper

2 participants