Skip to content

fix: correctly register allowed log level fields - #19261

Merged
trevorwhitney merged 5 commits into
mainfrom
twhitney/fix-level-detection
Oct 23, 2025
Merged

fix: correctly register allowed log level fields#19261
trevorwhitney merged 5 commits into
mainfrom
twhitney/fix-level-detection

Conversation

@trevorwhitney

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

We weren't registering the same defaults as we had in the method, causing us to miss some of the Otel standard fields if they were indexed, like SeverityText.

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
@trevorwhitney
trevorwhitney requested a review from a team as a code owner September 23, 2025 23:01
@github-actions

github-actions Bot commented Sep 24, 2025

Copy link
Copy Markdown
Contributor
@github-actions

github-actions Bot commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

💻 Deploy preview deleted (fix: correctly register allowed log level fields).

@trevorwhitney
trevorwhitney merged commit 26f8b99 into main Oct 23, 2025
66 checks passed
@trevorwhitney
trevorwhitney deleted the twhitney/fix-level-detection branch October 23, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants