Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Conversation

@onukristo
Copy link
Contributor

@onukristo onukristo commented Aug 15, 2025

Context

Introduced twTasks.processing.triggersLimit gauge to show how many triggers we can keep in memory for a bucket.

Checklist

…triggers we can keep in memory for a bucket.
Copilot AI review requested due to automatic review settings August 15, 2025 13:13
@onukristo onukristo requested a review from a team as a code owner August 15, 2025 13:13
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 introduces a new metrics gauge twTasks.processing.triggersLimit to expose the maximum number of triggers that can be kept in memory for each bucket. This adds observability to help monitor and understand the memory constraints for trigger processing.

  • Added new gauge metric to track triggers limit per bucket
  • Refactored bucket properties retrieval to avoid duplicate calls
  • Updated version and changelog documentation

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
TasksProcessingService.java Refactored bucket properties access and registered new triggers limit gauge
ICoreMetricsTemplate.java Added interface method for registering triggers limit gauge
CoreMetricsTemplate.java Implemented triggers limit gauge registration with metric constant
gradle.properties Bumped version from 1.51.1 to 1.51.2
CHANGELOG.md Added changelog entry for the new triggers limit gauge

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@onukristo onukristo enabled auto-merge (squash) August 15, 2025 13:23
@onukristo onukristo merged commit 72d24c7 into master Aug 15, 2025
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants