-
Notifications
You must be signed in to change notification settings - Fork 810
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
Make queries involving no metric name work #416
Comments
Current status: it's rolled out but unusably slow |
There was a ‘fix’ in Prometheus, but it turns out it was incorrect. Whole
thing needs a rethink.
…On Mon, 5 Mar 2018 at 17:28, Bryan Boreham ***@***.***> wrote:
Current status: it's rolled out but unusably slow
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#416 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbGhe-VpQo86MUEdF5ncvYziDP_qDbUks5tbXW_gaJpZM4NWZJ5>
.
|
The reason I say it's unusably slow is the entire row has to be read for an instance in before you can do anything. A small demo like Sock Shop has ~100K entries in the row, at 2-3K each that's a 200-300MB read, that has to be done serially at whatever rate the back-end will support. Your proposed change to Prometheus was looking at a different aspect of the problem. |
Rolled back from v8 schema to v6 today; write throughput seems much better. |
Tried the query
On a very small instance I do get results. |
#958 deletes the schemas that support this. With the schema store, there are 12x less index entries. We might be able to consider removing metric name from the hash key, and having a proper Even then, with millions of series, this row might be too big... |
I have a design doc here to make this happen: https://docs.google.com/document/d/19gnA8vHKSnqhnly6hA2W8Hwhiib15toFGmD4nM582-s/edit# |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Please be aware this issue affects only the chunks storage. The new blocks storage supports queries without a metric name. |
There's no official timeline yet, but there's an intention to deprecate chunks storage in favor of blocks storage. The feeling of the room is that the latest point at which official deprecation happens would be the 2.0 release, but deprecation (not removal) might also happen earlier. |
Which room are you describing? I could go as far as "would like to deprecate, if blocks turns out ok in widespread use". |
Closing this issue as its related to chunks storage that is being deprecated. |
Currently queries involving no metric name (such as
count({__name__=~".+"}) by (__name__)
) almost always fail with some think like:I suspect this is because we're trying to fetch too many chunks simultaneously, and we're running out of client ports.
Also, the v7 schema isn't rolled out to prod yet.
And they are hella slow - but lets get them working first!
The text was updated successfully, but these errors were encountered: