{"id":13581861,"url":"https://github.com/VictoriaMetrics/metricsql","last_synced_at":"2025-04-06T10:33:00.660Z","repository":{"id":40756408,"uuid":"259626767","full_name":"VictoriaMetrics/metricsql","owner":"VictoriaMetrics","description":"Standalone PromQL and MetricsQL parser","archived":false,"fork":false,"pushed_at":"2025-03-12T21:28:53.000Z","size":672,"stargazers_count":221,"open_issues_count":12,"forks_count":39,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-06T05:04:43.689Z","etag":null,"topics":["metricsql","parser","prometheus","promql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VictoriaMetrics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-28T12:11:01.000Z","updated_at":"2025-03-28T12:47:19.000Z","dependencies_parsed_at":"2023-10-10T15:55:12.631Z","dependency_job_id":"ccbd5be0-4760-4d0d-9c91-954d2e05d210","html_url":"https://github.com/VictoriaMetrics/metricsql","commit_stats":{"total_commits":165,"total_committers":12,"mean_commits":13.75,"dds":"0.12727272727272732","last_synced_commit":"788d98494b8e11003599ea0dcd4c7e3582cc09f1"},"previous_names":[],"tags_count":123,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictoriaMetrics%2Fmetricsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictoriaMetrics%2Fmetricsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictoriaMetrics%2Fmetricsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictoriaMetrics%2Fmetricsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VictoriaMetrics","download_url":"https://codeload.github.com/VictoriaMetrics/metricsql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436261,"owners_count":20938533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["metricsql","parser","prometheus","promql"],"created_at":"2024-08-01T15:02:17.025Z","updated_at":"2025-04-06T10:33:00.639Z","avatar_url":"https://github.com/VictoriaMetrics.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/VictoriaMetrics/metricsql?status.svg)](http://godoc.org/github.com/VictoriaMetrics/metricsql)\n[![Go Report](https://goreportcard.com/badge/github.com/VictoriaMetrics/metricsql)](https://goreportcard.com/report/github.com/VictoriaMetrics/metricsql)\n\n\n# metricsql\n\nPackage metricsql implements [MetricsQL](https://docs.victoriametrics.com/metricsql/)\nand [PromQL](https://medium.com/@valyala/promql-tutorial-for-beginners-9ab455142085) parser in Go.\n\n### Usage\n\n```go\n    expr, err := metricsql.Parse(`sum(rate(foo{bar=\"baz\"}[5m])) by (job)`)\n    if err != nil {\n        // parse error\n    }\n    // Now expr contains parsed MetricsQL as `*Expr` structs.\n    // See Parse examples for more details.\n```\n\nSee [docs](https://godoc.org/github.com/VictoriaMetrics/metricsql) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVictoriaMetrics%2Fmetricsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVictoriaMetrics%2Fmetricsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVictoriaMetrics%2Fmetricsql/lists"}