Add PromQL language support#2628
Conversation
RunDevelopment
left a comment
There was a problem hiding this comment.
Thank you for the PR @arendjr!
I gave your PR a quick look and left you some comments. I'll give it a more in-depth review later.
Additional notes:
|
Thanks for the thorough feedback already! I have addressed the styling issues, split keywords and functions as appropriate, simplified some things and added another comment to address one of your questions :) To be honest, I'm not sure about all the original motivations, as I reused some code from the Monaco highlighter and the blog post I referenced, but thanks to your review, I think it's pretty cleaned up now. |
|
Thank you for the quick response! I still have some minor nits but it's overall it looks really good now. |
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
RunDevelopment
left a comment
There was a problem hiding this comment.
Please rebuild, so I can merge.
|
Done! |
|
Thank you for contributing @arendjr! |
|
Thanks for your support! 🚀 |
This PR adds support for PromQL: https://prometheus.io/docs/prometheus/latest/querying/examples/