Skip to content

Conversation

@rafaelcr
Copy link
Collaborator

Adds prometheus metrics that show the timestamps of last Stacks node events received, split by event type

# HELP stacks_last_event_timestamps Last Stacks node events received timestamp
# TYPE stacks_last_event_timestamps gauge
stacks_last_event_timestamps{event="/new_block"} 1740074547059
stacks_last_event_timestamps{event="/new_burn_block"} 1740074547032

@github-actions
Copy link

Vercel deployment URL: https://stacks-blockchain-tlbe3bdv1-hirosystems.vercel.app 🚀

Copy link

@bgridley bgridley left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/event-stream/event-server.ts 0.00% 5 Missing ⚠️
src/datastore/pg-store.ts 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rafaelcr rafaelcr merged commit 9ce9a33 into develop Feb 20, 2025
28 checks passed
@rafaelcr rafaelcr deleted the feat/event-times branch February 20, 2025 19:58
blockstack-devops pushed a commit that referenced this pull request Feb 20, 2025
## [8.7.0](v8.6.0...v8.7.0) (2025-02-20)

### Features

* **metrics:** add metrics for last event receipt timestamps ([#2223](#2223)) ([9ce9a33](9ce9a33))
* show pending inbound and outbound stx balances ([#2208](#2208)) ([5330c07](5330c07))
@blockstack-devops
Copy link
Contributor

🎉 This PR is included in version 8.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants