Skip to content

Conversation

@grobinson-grafana
Copy link
Contributor

@grobinson-grafana grobinson-grafana commented Jun 10, 2025

What this PR does / why we need it:

This pull request adds a new reason called ReasonFailed. It is used in proto.ExceedsLimitsResult when a stream cannot be checked against a tenant's limits due to an error. It allows this information to be fed back to the distributors which can then make a decision whether to accept or reject the streams (for example, having a per-tenant toggle).

This reason is not used in this pull request, that will be done in a follow up PR.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

This commit adds a new reason called ReasonFailed. It is used in
proto.ExceedsLimitsResult when a stream cannot be checked against
a tenant's limits due to an error. It allows this information to
be fed back to the distributors which can then make a decision
whether to accept or reject the streams (for example, having a
per-tenant toggle).
@grobinson-grafana grobinson-grafana merged commit b15d85d into main Jun 17, 2025
66 checks passed
@grobinson-grafana grobinson-grafana deleted the grobinson/add-failed-reason branch June 17, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants