Skip to content

feat(onlyswaps-state-api): add metrics #175

Merged
azixus merged 7 commits into
mainfrom
chore/onlyswaps-state-api-metrics
Oct 17, 2025
Merged

feat(onlyswaps-state-api): add metrics #175
azixus merged 7 commits into
mainfrom
chore/onlyswaps-state-api-metrics

Conversation

@azixus
Copy link
Copy Markdown
Contributor

@azixus azixus commented Oct 17, 2025

Added metrics on receiving fresh events from omnievent's stream:

  • A new swap was requested
  • The swap fee of a request was updated
  • A swap was fulfilled
  • A swap has been verified

I used IntCounterVecs to allow counting per (source chain, destination chain, source token, destination token).

@azixus
Copy link
Copy Markdown
Contributor Author

azixus commented Oct 17, 2025

fixes #171

@azixus
Copy link
Copy Markdown
Contributor Author

azixus commented Oct 17, 2025

after closing & merging, we'll need to add a serviceMonitor to the helm chart

@azixus azixus merged commit 242463b into main Oct 17, 2025
10 checks passed
@azixus azixus deleted the chore/onlyswaps-state-api-metrics branch October 17, 2025 14:03
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.

2 participants