monaco-languages-promql
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Monaco PromQL language Build Status npm version License

Colorization and configuration supports for PromQL language for the Monaco Editor.

Display samples

Samples coming from https://github.com/infinityworks/prometheus-example-queries

Playground

https://celian-garcia.github.io/monaco-languages-promql/

Installation

  • initial setup with npm install .
  • compile with npm run watch
  • test with npm run test

Usage

Development

Run example with local version

npm compile
npm link
cd examples/<example-folder>
npm link monaco-languages-promql
npm start

Roadmap

  • More usage documentation.
  • Versions mapping with PromQL.
  • Provide the auto-completion support.

Credits

This repository is inspired by monaco-languages repository.

/monaco-languages-promql/

    Package Sidebar

    Install

    npm i monaco-languages-promql

    Weekly Downloads

    2

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    1.17 MB

    Total Files

    58

    Last publish

    Collaborators

    • celian.garcia