Skip to content

Conversation

@cyriltovena
Copy link
Contributor

Adds support for relabeling log entries in lambda-promtail using Prometheus-style relabel configs. This allows for more flexible label manipulation and filtering of log entries before they are sent to Loki.

What this PR does / why we need it:

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
Adds support for relabeling log entries in lambda-promtail using Prometheus-style relabel configs. This allows for more flexible label manipulation and filtering of log entries before they are sent to Loki.
@cyriltovena cyriltovena requested a review from a team as a code owner January 6, 2025 08:43
@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Jan 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2025

💻 Deploy preview deleted.

@cyriltovena cyriltovena merged commit c41a8b4 into main Jan 8, 2025
61 checks passed
@cyriltovena cyriltovena deleted the relabling-lambda branch January 8, 2025 07:43
vlasopoulos added a commit to vlasopoulos/loki that referenced this pull request Jul 1, 2025
Adds a `relabel_configs` variable so the env var `RELABEL_CONFIGS` introduced in grafana#15600 can be
set from Terraform.
README updated with an example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories

2 participants