Skip to content

redis-cache:metrics key growing up infinitely #46

Discussion options

You must be logged in to vote

Do you know why the number of metrics can grow so high? What are the rules for pruning/truncating the logs?

One HTTP request will case one metrics entry.

There is a rediscache_discard_metrics scheduled event that will delete all metrics older than WP_REDIS_METRICS_MAX_TIME (1 hour by default).

So if you WP Cron isn't working properly it may build up over time.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tillkruss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #42 on January 10, 2024 17:15.