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

Update Cortex scaling dashboard: #273

Closed
wants to merge 3 commits into from
Closed

Update Cortex scaling dashboard: #273

wants to merge 3 commits into from

Conversation

tomwilkie
Copy link
Contributor

  • Aim for 1.5M series per ingester
  • Use recording rules to make some queries faster.

Signed-off-by: Tom Wilkie [email protected]

- Aim for 1.5M series per ingester
- Use recording rules to make some queries faster.

Signed-off-by: Tom Wilkie <[email protected]>
@tomwilkie tomwilkie requested a review from pracucci March 16, 2021 19:58
@tomwilkie tomwilkie requested a review from a team as a code owner March 16, 2021 19:58
cortex_ingester_chunk_size_bytes_sum{cluster=~"$cluster", namespace=~"$namespace", job=~".+/ingester"}
/
cortex_ingester_chunk_size_bytes_count{cluster=~"$cluster", namespace=~"$namespace", job=~".+/ingester"}
increase(cortex_ingester_tsdb_storage_blocks_bytes{cluster=~"$cluster", namespace=~"$namespace", job=~".+/ingester"}[24h])
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this is correct. cortex_ingester_tsdb_storage_blocks_bytes is the size of compacted blocks on disk (but not deleted by TSDB retention yet) while I guess you want in-memory series. We don't have a specific metric for that. Should we use the go heap or container working set memory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How long do we keep blocks on disk in the ingesters - 96h? I suggest we try and size memcached proportional to size of the blocks on disk - say, 1/4 of that.

Signed-off-by: Tom Wilkie <[email protected]>
@tomwilkie tomwilkie requested a review from pracucci March 17, 2021 09:38
@tomwilkie
Copy link
Contributor Author

Pretty sure this was all covered in #278

@tomwilkie tomwilkie closed this Apr 16, 2021
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.

2 participants