Skip to content

A simple application for visualizing promql-lezer trees

Notifications You must be signed in to change notification settings

grafana/lezer-promql-tree-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lezer-promql tree visualization

A simple application based off the logQL tree visualization. Visualizes the structure of the lezer tree and renders the node type, index, from, and to. Make sure to update the version of prometheus-io/lezer-promql in package.json to the version you are working with. By default, it's using the latest version used in Grafana.

To build default tree visualization:

yarn dev

To build against a local version of lezer-promql, make sure to follow the instructions to build lezer-promql and then update the package.json to point to the local version:

"@prometheus-io/lezer-promql": "file:/Users/USERNAME/projects/prometheus/web/ui/module/lezer-promql/dist",
image

About

A simple application for visualizing promql-lezer trees

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published