VictoriaMetrics/metricsql

Standalone PromQL and MetricsQL parser

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 58 minutes ago
Added to GitGenius on October 22nd, 2023
Created on April 28th, 2020
Open Issues & Pull Requests: 16 (+0)
Number of forks: 48
Total Stargazers: 245 (+0)
Total Subscribers: 14 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.9 hours
Mean response time: 152.0 days
90th percentile: 971.5 days
Tracked items: 8

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 9
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 949 days
Stale 30+ days: 8
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (2)
  • bug (1)
  • support (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The metricsql repository is a standalone parser implementation for both MetricsQL and PromQL query languages, written in Go. It provides the core parsing functionality needed to interpret and process queries written in these metric query languages, which are essential for time series data retrieval and analysis in monitoring and observability systems.

MetricsQL is an extended query language developed by VictoriaMetrics that builds upon PromQL, the query language used by Prometheus. This parser serves as a foundational component that allows applications to understand and execute queries against time series databases. By offering a standalone implementation, the repository enables developers to integrate query parsing capabilities into their own applications without requiring a full VictoriaMetrics deployment.

The repository is classified across multiple observability and monitoring-related domains, including query language processing, time series database functionality, metrics storage, and high-performance analytics. This broad classification reflects the parser's role as infrastructure for the wider VictoriaMetrics ecosystem, which encompasses time series data storage, visualization, and analysis tools. The parser specifically supports vectorized query processing patterns, aligning with VictoriaMetrics' performance-oriented architecture.

This indicates active maintenance and engagement with the community. Issue tracking shows activity around support requests and enhancement proposals, suggesting the repository receives both user inquiries and feature development requests.

These connections highlight how the parser serves as a shared component across multiple projects within the VictoriaMetrics ecosystem.

The implementation provides comprehensive documentation through its Go package documentation, making it accessible for developers who need to integrate query parsing into their applications. The parser handles the syntax and semantics of both PromQL and the extended MetricsQL language, enabling support for advanced querying capabilities beyond standard Prometheus functionality. This dual-language support positions the repository as a bridge between Prometheus-compatible tooling and VictoriaMetrics-specific enhancements, allowing organizations to leverage extended query capabilities while maintaining compatibility with existing PromQL-based workflows.