Skip to content

DurableEmitter: Seed pending count on start#2151

Open
DylanTinianov wants to merge 2 commits into
mainfrom
durable-emitter-queue-depth-fix
Open

DurableEmitter: Seed pending count on start#2151
DylanTinianov wants to merge 2 commits into
mainfrom
durable-emitter-queue-depth-fix

Conversation

@DylanTinianov

Copy link
Copy Markdown
Contributor

Requires

Supports

@DylanTinianov DylanTinianov self-assigned this Jun 12, 2026
@DylanTinianov DylanTinianov requested a review from a team as a code owner June 12, 2026 20:56
@github-actions

Copy link
Copy Markdown

👋 DylanTinianov, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@DylanTinianov DylanTinianov enabled auto-merge June 12, 2026 20:58
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

d.pendingMax.Store(st.Depth)
if d.metrics != nil {
d.metrics.queueDepth.Record(ctx, st.Depth)
d.metrics.queueDepthMax.Record(ctx, st.Depth)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you help remind me - why did we want to record queue depth max as an additional metric? Is there a reason we shouldn't be calculating it with sql or promql expressions on our dashboards?

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