Skip to content

feat: log ingestion policy when log_push_request is set - #18712

Merged
salvacorts merged 1 commit into
mainfrom
salvacorts/log-policy-push-req
Aug 6, 2025
Merged

feat: log ingestion policy when log_push_request is set#18712
salvacorts merged 1 commit into
mainfrom
salvacorts/log-policy-push-req

Conversation

@salvacorts

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

With log_push_request we can log all the streams a customer is pushing. This is useful to debug which streams are discarded later on. To debug logs dropped due to blocked policies on the operator end, we are resolving a printing the policy when log_push_request is enabled.

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
@salvacorts
salvacorts requested a review from a team as a code owner August 4, 2025 10:58

@trevorwhitney trevorwhitney left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@salvacorts
salvacorts merged commit 0ec787f into main Aug 6, 2025
66 checks passed
@salvacorts
salvacorts deleted the salvacorts/log-policy-push-req branch August 6, 2025 10:51
felix0102 pushed a commit to felix0102/loki that referenced this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants