{"id":19031489,"url":"https://github.com/prometheus-community/monaco-promql","last_synced_at":"2025-04-04T07:07:30.734Z","repository":{"id":38268460,"uuid":"255302851","full_name":"prometheus-community/monaco-promql","owner":"prometheus-community","description":"PromQL support for the Monaco code editor","archived":false,"fork":false,"pushed_at":"2025-03-26T07:08:42.000Z","size":11987,"stargazers_count":32,"open_issues_count":6,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T06:08:19.067Z","etag":null,"topics":["monaco","monaco-code-editor","monaco-editor","prometheus","promql"],"latest_commit_sha":null,"homepage":"https://prometheus-community.github.io/monaco-promql/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prometheus-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-13T11:05:37.000Z","updated_at":"2025-03-26T07:08:40.000Z","dependencies_parsed_at":"2023-02-15T08:01:43.251Z","dependency_job_id":"b2a88aaa-32fc-45f5-a72d-d1c3c9650681","html_url":"https://github.com/prometheus-community/monaco-promql","commit_stats":{"total_commits":175,"total_committers":8,"mean_commits":21.875,"dds":"0.37142857142857144","last_synced_commit":"4cd23ff929bf73aff6d6d6f082e0855641881121"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus-community%2Fmonaco-promql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus-community%2Fmonaco-promql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus-community%2Fmonaco-promql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus-community%2Fmonaco-promql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prometheus-community","download_url":"https://codeload.github.com/prometheus-community/monaco-promql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135143,"owners_count":20889421,"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":["monaco","monaco-code-editor","monaco-editor","prometheus","promql"],"created_at":"2024-11-08T21:23:49.565Z","updated_at":"2025-04-04T07:07:30.713Z","avatar_url":"https://github.com/prometheus-community.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monaco PromQL language [![CircleCI](https://circleci.com/gh/prometheus-community/monaco-promql.svg?style=shield)](https://circleci.com/gh/prometheus-community/monaco-promql) [![npm version](https://badge.fury.io/js/monaco-promql.svg)](https://badge.fury.io/js/monaco-promql) [![License](https://img.shields.io/:license-mit-blue.svg)](LICENSE.md)\n\n## Overview\n\nThis project provides a support for the [Monaco](https://microsoft.github.io/monaco-editor/) editor that handles the PromQL ([Prometheus](https://prometheus.io/docs/introduction/overview/) Query Language) syntax (with syntax highlighting).\n\nInitially the repository was owned by AmadeusITGroup and it has been transferred to the prometheus-community (Thanks to [Julius Volz](https://github.com/juliusv) that helped us for that)\nDuring the transfer, the repository and the package changed its name from **monaco-languages-promql** to the current one: **monaco-promql**.\n\n### Installation\nLanguage support is available on npm :\n\n| Version         | command to use                        |\n| --------------- | ------------------------------------- |\n| \u003e= 1.5          | `npm install monaco-promql`           |\n| \u003e= 1.4 \u003c 1.5    | `npm install monaco-languages-promql` |\n\n### Playground\nIf you want to test it, you have the last version available on the following website:\n\nhttps://prometheus-community.github.io/monaco-promql/\n\nHere is a picture that displays what happen when you write a promQL expression:\n\n![Display samples](./docs/samples.png)\n\u003e Samples coming from https://github.com/infinityworks/prometheus-example-queries\n\n## Usage\n\n- [How to use it in an react project.](docs/react_integration.md)\n- [How to use it in an angular project.](docs/angular_integration.md)\n\n## Contributions\nAny contribution or suggestion would be really appreciated. Feel free to use the Issue section or to send a pull request.\n\n## Development\n### Run example with local version\n```shell script\nnpm install\nnpm run build\nnpm link\ncd examples/\u003cexample-folder\u003e\nnpm install\nnpm link monaco-promql\nnpm start\n# Then modify manually the monaco-promql import :/ \"monaco-promql\" -\u003e \"monaco-promql/lib\"\n```\n\n## Roadmap\n- [x] More usage documentation.\n- [x] Provide the auto-completion support.\n- [ ] Versions mapping with PromQL.\n- [ ] More automation on release version in npmjs and angular gh-pages update\n\n## Credits\nThis repository is inspired by [monaco-languages](https://github.com/microsoft/monaco-languages) repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometheus-community%2Fmonaco-promql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprometheus-community%2Fmonaco-promql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometheus-community%2Fmonaco-promql/lists"}