Feature Request: Metrics -or- EventBus Event for EventTimeoutExceptions
See original GitHub issueCurrent Version:
<dependency>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>5.0.4.RELEASE</version>
</dependency>
Wanted to discuss possibly getting support for timeout events on the RedisClient’s event bus or a metric for the CommandMetrics object that stores a count of timeouts (preferring the latter). I’ve looked for this functionality in the lettuce API but have not found it. I would be open to helping collaborate on this feature.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Support for command timeouts (async, reactive) #435 - GitHub
Feature Request : Metrics -or- EventBus Event for EventTimeoutExceptions #785. Open. Sign up for free to join this conversation on GitHub.
Read more >Configure the event bus and metrics dashboard - Eventbox
Configure the event bus and metrics dashboard · Inside this section · 1. Connect SNS with EventBridge · 2. Publishing ride data to...
Read more >How to request a new game events feature
Only requests related to real-time game events. Like missing game events, etc., no API requests, please. Got a great idea for an Overwolf ......
Read more >Feature Requests - Pathable
Feature Requests · Agenda Permissions · Brightcove - Accepted Streaming Services and File Formats for Embedded Videos Completed · Dynamic Tokens should translate ......
Read more >4 Essential Feature Request Prioritization Frameworks
Here are 4 frameworks to prioritize feature requests. ... It is also easier to reach consensus on such metrics; all that is needed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gtschurwald Take a lot at https://github.com/lettuce-io/lettuce-core/wiki/Command-Latency-Metrics. Timeouts do not apply to commands but rather to the synchronization/blocking facade.
I’ve had to put this aside for now in order to tackle some more urgent work, if someone else works on adding this that would be fantastic.
For some quick ideas on how to implement this, it seems like the method
awaitOrCancel
inLettuceFutures
might be a good point to increment some kind of failure counter, or theTimeoutException
it throws could be caught and trigger a metric increment. Alternatively, perhaps the set timeout could just be compared against the latency metric for completion time when that gets reported to determine a “timeout” event, but I’m not sure if latency metrics get reported on commands that timeout.