-
Notifications
You must be signed in to change notification settings - Fork 121
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
[BUG] Values of new metrics not renderable with realtime-index enabled. #395
Comments
hi @timw6n-thg , can you try enabling
|
I have also pushed a fix, with the new changes, we don't have to enable |
Thanks for that fix @bom-d-van. I've applied the patch to my cluster and it seems to have improved the situation. What's happening now seems to be that the metrics are being added to the index immediately (and are now renderable at that time 😀) but are being removed the next time the disk scan runs, presumably as I have cache-scan = false. I will give enabling cache-scan a go tomorrow. Have previously had difficulty with that though on older versions, presumably because of the volume of cached metrics (130 million data-points atm to give you an idea of scale). |
@timw6n-thg Hmm, this sounds odd. Was |
Yes, that was enabled. Config unchanged from above. |
Just in case, was there any restart before the disk scan during your test? If so, I might have an explanation. |
No restarts I'm afraid. |
Other than the one when I deployed the new go-carbon version of course, but that was before started sending the new metrics. |
Oh, I think I have a good explanation now. Yeah, it's a bug in realtime index. But your |
Yeah, running a queue writeout time of about 2 hours at the moment, which I'm aware is probably not a normal configuration. Writes throttled down a lot to protect the underlying storage. |
Will see how can I fix the issue. If the storage is a big factor for your cluster, have you tried out the |
… after disk scan #395 New unflushed metrics might still be unreachable due to restart though. But it is a different case that happens less frequently and could be addressed in a different commit.
@timw6n-thg I was wrong again. Actually enabling (also handled a bug related to |
That last patch seems to have done the trick. New metrics pulling through correctly straight away. Thank you. |
trie/realtime: set wspConfigRetriever when realtime index is enabled #395
Describe the bug
Quite a similar situation to that reported in #372. We have a large cluster (~3 million metrics) and so make heavy use of the cache, with max-updates-per-second throttled down to keep disk activity within sensible limits.
Have recently upgraded to 0.15.5, and at that point enabled realtime-index and concurrent-index. At present the issue we're having is that the names of new metrics are visible immediately (and so can be found by Graphite find queries) but the datapoints cannot be retrieved from the cache (render queries) until the whisper files end up on disk. New datapoints on existing metrics pull through from the cache fine.
Logged error seems to be
Go-carbon Configuration:
Storage schemas
Everything relevant to this on 1m:30d.
The text was updated successfully, but these errors were encountered: