{"id":23705693,"url":"https://github.com/ccakes/prometheus-parse-rs","last_synced_at":"2025-09-03T11:30:50.229Z","repository":{"id":37783700,"uuid":"187758096","full_name":"ccakes/prometheus-parse-rs","owner":"ccakes","description":"Rust parser for the Prometheus exposition text format","archived":false,"fork":false,"pushed_at":"2023-12-09T22:27:38.000Z","size":32,"stargazers_count":7,"open_issues_count":2,"forks_count":19,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T14:29:54.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ccakes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","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}},"created_at":"2019-05-21T03:53:45.000Z","updated_at":"2024-03-26T13:18:39.000Z","dependencies_parsed_at":"2023-12-07T06:25:42.433Z","dependency_job_id":null,"html_url":"https://github.com/ccakes/prometheus-parse-rs","commit_stats":{"total_commits":22,"total_committers":5,"mean_commits":4.4,"dds":0.5454545454545454,"last_synced_commit":"873a83cb4029e001c9a7c813ccad4fa986da3919"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccakes%2Fprometheus-parse-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccakes%2Fprometheus-parse-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccakes%2Fprometheus-parse-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccakes%2Fprometheus-parse-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccakes","download_url":"https://codeload.github.com/ccakes/prometheus-parse-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231874121,"owners_count":18439218,"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":[],"created_at":"2024-12-30T14:56:37.204Z","updated_at":"2024-12-30T14:56:38.023Z","avatar_url":"https://github.com/ccakes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-parse\n\nSimple but effective Rust parser for the Prometheus scrape format.\n\n```rust\nlet body = reqwest::get(\"https://prometheus.example.com/metrics\")?\n    .text()?;\nlet lines: Vec\u003c_\u003e = body.lines().map(|s| Ok(s.to_owned)).collect();\n\nlet metrics = prometheus_parse::Scrape::parse(lines.into_iter())?;\n```\n\n### Attribution\n\nThis crate is 99.99% lifted from [prometheus-scrape](https://crates.io/crates/prometheus-scrape) with some minor API changes and a GitHub repo to encourage PRs.\n\n## License\n\nApache License 2.0 - same as original project","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccakes%2Fprometheus-parse-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccakes%2Fprometheus-parse-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccakes%2Fprometheus-parse-rs/lists"}