question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Metrics -or- EventBus Event for EventTimeoutExceptions

See original GitHub issue

Current 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:open
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mp911decommented, Jul 24, 2018

@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.

0reactions
gtschurwaldcommented, Jul 26, 2018

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 in LettuceFutures might be a good point to increment some kind of failure counter, or the TimeoutException 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found