-
Notifications
You must be signed in to change notification settings - Fork 11.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loki: Add structured metadata keys to autocomplete #78584
Conversation
FYI there's an error in:
|
Thanks - fixed! |
Do we have structured metadata in our devenvs? Should we add it? |
Yep, it's the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly 👌
When we combine this with the log details filter it's going to be pretty cool.
|
* wip * remove import * scope to monaco completions for now * use `LabelType` enum * change strucutred metadata documentation * fix import * add `responseUtils` tests * update tests * fix completions.ts tests * fix LabelType enum * fix CompletionDataProvider test
What is this feature?
This PR adds structured metadata keys to the autocomplete of Loki's code editor.
Special notes for your reviewer:
lokiStructuredMetadata
feature flag.nonIndexed
label being suggested in the autocomplete: