Hello,
Since a couple of days, we introduced two new repositories in the prometheus-community <https://github.com/prometheus-community> that each propose a way to handle the promQL syntax in a web editor: - monaco-promql <https://github.com/prometheus-community/monaco-promql> This one supports the promQL syntax for the code editor Monaco <https://microsoft.github.io/monaco-editor/> developed by Microsoft. It provides *autocompletion and syntax highlighting*. We provided the documentations to setup the plugin for *ReactJS* and *Angular* ( version >= 8) - codemirror-promql <https://github.com/prometheus-community/codemirror-promql> This one supports the promQL syntax for the code editor CodeMirror <https://codemirror.net/>. For the moment it provides *autocompletion and syntax highlighting* too, but also a beginning of *syntax checking*. The syntax checking will be improved as things progress. The idea at the end is to be able to highlight the promQL error exactly like Prometheus is doing. A bit later, the plugin will also propose an online mode that will use the functionality provided by the project promQL-langserver <https://github.com/prometheus-community/promql-langserver>. (Which will require a live instance of Prometheus) And then if the repository is keeping its promises, it will be integrated to Prometheus itself. So it will be supported as well on *ReactJS*. Also be aware that this repo is on *an alpha stage*, so you may encounter some bugs 😊 Once this project will be done, we will certainly try to converge the monaco-promql to the same amount of functionality :). Both repositories have a website web where you can test the different plugin. If you have any questions and/or suggestions to improve both projects, subject is opened :). Cheers, Augustin -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/fcfbc06d-ff6d-43a0-b8a9-2a95804b7ed6%40googlegroups.com.