Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prometheus-community/vscode-promql

This is supposed to become a PromQL extension for vs code.
https://github.com/prometheus-community/vscode-promql

Last synced: 5 days ago
JSON representation

This is supposed to become a PromQL extension for vs code.

Awesome Lists containing this project

README

        

[![Build Status](https://raster.shields.io/drone/build/redhat-developer/vscode-promql.png)](https://cloud.drone.io/redhat-developer/vscode-promql)

# PromQL language support for VS Code

Prometheus Extension for VS Code based on the [PromQL Language Server](https://github.com/prometheus-community/promql-langserver).

## Trying out the extension
1. Download the latest release binary from the releases page and install it with
```
code --install-extension vscode-promql-.vsix
```
2. Restart VS Code
3. If you want to get metadata from a Prometheus server, go to the `Extensions -> PromQL` section in the VS Code settings and set the URL of the server in the field `Prometheus URL`
4. Open some of the files in `/src/test/testfiles/promql` and try editing them.

If you don't trust the release binary you can of course also build it yourself using the Makefile.