Skip to content

Conversation

@xDarksome
Copy link
Member

Description

Adds future_in_flight gauge to future_metrics!

How Has This Been Tested?

Not tested

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new futures_in_flight gauge metric to track the number of futures currently being executed. This metric provides real-time visibility into concurrent future execution.

  • Added FUTURES_IN_FLIGHT constant and corresponding gauge field
  • Incremented gauge when future starts (first poll) and decremented on drop
  • Integrated the new metric into the metrics registration flow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xDarksome xDarksome force-pushed the feat/future-metrics-in-flight branch from 68745ad to f9b564a Compare November 4, 2025 14:10
@xDarksome xDarksome merged commit 28c1255 into main Nov 4, 2025
6 checks passed
@xDarksome xDarksome deleted the feat/future-metrics-in-flight branch November 4, 2025 14:14
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.

4 participants