Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis - Metrics collection should not write anything #165

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

iKsSs
Copy link
Contributor

@iKsSs iKsSs commented Nov 28, 2024

We are using the Redis master node for writing and slave node(s) for reading - if we try to collect metrics Redis::collectSummaries() sometimes tries to delete some keys from storage, which is impossible on the READ ONLY node.

LKaemmerling
LKaemmerling previously approved these changes Dec 1, 2024
Copy link
Member

@LKaemmerling LKaemmerling left a comment

Choose a reason for hiding this comment

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

LGTM! Good catch, thank you!

@iKsSs
Copy link
Contributor Author

iKsSs commented Dec 2, 2024

@mp3000mp could you please take a look?

@iKsSs
Copy link
Contributor Author

iKsSs commented Dec 2, 2024

please wait until #169 is merged :)
EDIT: done

Signed-off-by: Jakub Pastuszek <jakub.pastuszek@invia.cz>
@LKaemmerling LKaemmerling merged commit d6233cc into PromPHP:main Dec 2, 2024
24 checks passed
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.

3 participants