0.0.20 • Published 8 months ago

@grafana/lezer-traceql v0.0.20

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

lezer-traceql

TraceQL lezer grammar based on https://github.com/grafana/tempo/blob/main/pkg/traceql/expr.y.

Installation

npm install

Development

Building

npm run build 

Testing

npm test

Tree visualizer

You can use the tree-viz tool in the tools folder to visualize the outcome of the parser for a given TraceQL query. Example: alt text

Before using this tool, be sure you have already built the project, as described above.

To run the tool, you need to run a HTTP server first. For instance, you can do this by opening a terminal at the root folder and running:

npx http-server

This should start a HTTP server at http://127.0.0.1:8080. You can now fetch the tools/tree-viz.html page from the HTTP server: open your browser and visit http://127.0.0.1:8080/tools/tree-viz.html.

0.0.20

8 months ago

0.0.19

9 months ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago