{"id":15658200,"url":"https://github.com/onbjerg/promg","last_synced_at":"2025-08-18T04:09:28.315Z","repository":{"id":65095970,"uuid":"581635654","full_name":"onbjerg/promg","owner":"onbjerg","description":"A small CLI tool to create a plot from a Prometheus query","archived":false,"fork":false,"pushed_at":"2022-12-28T06:20:57.000Z","size":68,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T19:40:42.444Z","etag":null,"topics":["cli","prometheus","tool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onbjerg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-23T19:40:21.000Z","updated_at":"2024-10-18T05:47:46.000Z","dependencies_parsed_at":"2023-01-13T15:31:35.137Z","dependency_job_id":null,"html_url":"https://github.com/onbjerg/promg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onbjerg/promg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbjerg%2Fpromg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbjerg%2Fpromg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbjerg%2Fpromg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbjerg%2Fpromg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onbjerg","download_url":"https://codeload.github.com/onbjerg/promg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onbjerg%2Fpromg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940954,"owners_count":24671744,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","prometheus","tool"],"created_at":"2024-10-03T13:11:24.558Z","updated_at":"2025-08-18T04:09:28.286Z","avatar_url":"https://github.com/onbjerg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## promg\n\nA small CLI tool to create a plot from a [Prometheus range query][prom-range-query].\n\n### Usage\n\n```\nGenerate a plot from a Prometheus range query\n\nUsage: promg [OPTIONS] --query \u003cQUERY\u003e\n\nOptions:\n  -e, --endpoint \u003cENDPOINT\u003e\n          The Prometheus server endpoint\n          \n          [default: http://localhost:9090]\n\n      --start \u003cSTART\u003e\n          The start of the query range (UNIX timestamp)\n          \n          Defaults to 24 hours ago.\n          \n          [default: 1672122016]\n\n      --end \u003cEND\u003e\n          The end of the query range (UNIX timestamp)\n          \n          Defaults to now.\n          \n          [default: 1672208416]\n\n      --step \u003cSTEP\u003e\n          The range query step (in seconds)\n          \n          [default: 60]\n\n  -t, --title \u003cTITLE\u003e\n          The title of the plot.\n          \n          Multiple titles can be specified by passing the flag multiple times.\n          \n          The number of titles must match the number of queries.\n\n      --live\n          Open the plot in the browser and live-reload it\n\n      --html\n          Write the plot as embeddable HTML to stdout\n\n  -q, --query \u003cQUERY\u003e\n          The Prometheus range query.\n          \n          Multiple queries can be specified by passing the flag multiple times.\n          \n          The number of titles must match the number of queries.\n\n  -h, --help\n          Print help information (use `-h` for a summary)\n```\n\n[prom-range-query]: https://prometheus.io/docs/prometheus/latest/querying/api/#range-queries\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonbjerg%2Fpromg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonbjerg%2Fpromg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonbjerg%2Fpromg/lists"}