Skip to content

Added user label to cortex_ingester_memory_series metric #1811

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

Conversation

pracucci
Copy link
Contributor

What this PR does:
In the PR #1760 I've introduced a global limit on the max series per user and metric, but unfortunately we don't have a per-tenant metric to give us an overview on the current per-tenant series utilization, in order to fine tune the global limit.

For this reason, in this PR I'm suggesting to add the user label to the cortex_ingester_memory_series metric, like we already have for cortex_ingester_memory_series_created_total and cortex_ingester_memory_series_removed_total.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pstibrany
Copy link
Contributor

Approving, but we really need to find a different way of having access to this information. Adding user label to more metrics is a cause to metrics explosion :-(

@pracucci
Copy link
Contributor Author

Closing cause - with a lower resolution - should be able to approximate via cortex_ingester_memory_series_created_total - cortex_ingester_memory_series_removed_total

@pracucci pracucci closed this Nov 12, 2019
@pracucci pracucci deleted the add-tenant-label-to-memory-series-metric branch November 12, 2019 09:38
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