Skip to content

Conversation

CharlieTLe
Copy link
Member

@CharlieTLe CharlieTLe commented Sep 29, 2025

What this PR does:

Updates cortex config examples to use yaml-language-server.

In VSCode with the YAML Language Server, these popups will appear to help with validating the configuration and autocompleting valid names.

Screenshot 2025-09-29 at 11 50 25 AM

Hovering over the auth_enabled field shows a helpful description.

Screenshot 2025-09-29 at 11 51 24 AM

Typing in log_ shows us what the valid values are under the server key.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@CharlieTLe CharlieTLe changed the title cortex config json schema Update cortex-config examples with yaml-language-server link to cortex-config-schema.json Sep 29, 2025
@CharlieTLe CharlieTLe marked this pull request as ready for review September 29, 2025 19:01
@SungJin1212
Copy link
Member

thanks

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 30, 2025
@friedrichg friedrichg merged commit 0e9721f into cortexproject:master Sep 30, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/documentation lgtm This PR has been approved by a maintainer size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants