Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@grafana/lezer-traceql

Package Overview
Dependencies
Maintainers
22
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grafana/lezer-traceql

Grafana Tempo TraceQL lezer grammar

  • 0.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.3K
decreased by-24.94%
Maintainers
22
Weekly downloads
 
Created
Source

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 visually see the parser in action.

To use it, you need to have already built the project.

You also need to have a running HTTP server. For instance, you can do that 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. alt text

FAQs

Package last updated on 03 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc