Skip to content

Conversation

@Stefan-Ethernal
Copy link
Contributor

@Stefan-Ethernal Stefan-Ethernal commented Oct 31, 2025

🔄 Changes Summary

This PR introduces the following Prometheus metrics to the aggoracle.

Metric Type Description Unit
aggoracle_ger_processing_trigger_total Counter Total number of GER processing triggers. count
aggoracle_ger_processing_errors_total Counter Total number of GER processing errors. count
aggoracle_ger_processing_duration_seconds Histogram Time taken to process a single Global Exit Root from start to finish. seconds

⚠️ Breaking Changes

N/A

📋 Config Updates

N/A

✅ Testing

  • 🤖 Automatic: [Optional: Enumerate E2E tests]
  • 🖱️ Manual: [Optional: Steps to verify]

🐞 Issues

🔗 Related PRs

N/A

📝 Notes

N/A

@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/introduce-aggoracle-metrics branch from 355edcd to ed63fed Compare October 31, 2025 05:15
@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review October 31, 2025 05:21
@Stefan-Ethernal Stefan-Ethernal requested a review from a team October 31, 2025 05:21
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
22.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Stefan-Ethernal Stefan-Ethernal enabled auto-merge (squash) October 31, 2025 06:50
go func() {
start := time.Now()
err := a.chainSender.ProcessGER(ctx, latestGER)
metrics.ObserveGERProcessDuration(time.Since(start))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also track which ger took how much time? wdyt?

@Stefan-Ethernal Stefan-Ethernal merged commit 92a86b0 into develop Nov 3, 2025
21 of 22 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the feat/introduce-aggoracle-metrics branch November 3, 2025 09:45
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.

implement Prometheus metrics for aggoracle

4 participants