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.

Stop write warning in redisb if no keys configuration

See original GitHub issue

Hi!

redisdb integration supports keys configuration setting to collect length of Redis keys.

But if I am not interested in this functionality – my check becomes WARNING state because of this https://github.com/DataDog/integrations-core/blob/master/redisdb/datadog_checks/redisdb/redisdb.py#L248.

My redisdb check shouldn’t become WARNING if don’t use keys.

See https://github.com/DataDog/integrations-core/commit/bb4e550980d803228b5468455260ad9bf0cbfb28, previously there was guard if

/notify @masci @ofek

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mvisonneaucommented, Dec 13, 2019

I had the same issue on v6.14.0 I confim that bumping to v6.15.1 fixed it. Thanks!

0reactions
ofekcommented, Dec 18, 2019

Thanks everyone!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to suppress all warning · Issue #1705 - GitHub
Hi! What's the error message? no error, but the warning can't be suppressed. All reactions.
Read more >
Suppress code analysis warnings - .NET - Microsoft Learn
You can disable a rule that's causing a warning by setting its severity to none in an EditorConfig or AnalyzerConfig configuration file.
Read more >
How to disable Python warnings? - Stack Overflow
Look at the Temporarily Suppressing Warnings section of the Python docs: If you are using code that you know will raise a warning,...
Read more >
How To Manage Redis Databases and Keys - DigitalOcean
To delete one or more keys of any data type, use the del command followed by one or more keys that you want...
Read more >
Disable all warnings. | Apple Developer Forums
hi, I want to know how to remove/disable all errors on Xcode while am writing a code, as am practicing for an exam...
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