{"id":39838456,"url":"https://github.com/acrlabs/prom2parquet","last_synced_at":"2026-01-18T13:24:14.706Z","repository":{"id":222892547,"uuid":"758650315","full_name":"acrlabs/prom2parquet","owner":"acrlabs","description":"Remote write target for Prometheus that saves metrics to parquet files","archived":false,"fork":false,"pushed_at":"2025-11-20T02:15:40.000Z","size":755,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-15T15:38:12.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/acrlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"acrlabs"}},"created_at":"2024-02-16T19:15:27.000Z","updated_at":"2025-09-26T18:27:08.000Z","dependencies_parsed_at":"2024-02-21T23:26:04.127Z","dependency_job_id":"ffb1bbb9-1586-4a99-b6f0-9a51e800dc3e","html_url":"https://github.com/acrlabs/prom2parquet","commit_stats":null,"previous_names":["acrlabs/prom2parquet"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/acrlabs/prom2parquet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fprom2parquet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fprom2parquet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fprom2parquet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fprom2parquet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acrlabs","download_url":"https://codeload.github.com/acrlabs/prom2parquet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fprom2parquet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-18T13:24:13.788Z","updated_at":"2026-01-18T13:24:14.685Z","avatar_url":"https://github.com/acrlabs.png","language":"Go","funding_links":["https://github.com/sponsors/acrlabs"],"categories":[],"sub_categories":[],"readme":"![build status](https://github.com/acrlabs/prom2parquet/actions/workflows/verify.yml/badge.svg)\n\n# prom2parquet\n\nRemote write target for Prometheus that saves metrics to parquet files\n\n**⚠️ This should be considered an alpha project. ⚠️**\nIn particular, the schema for the saved Parquet files is likely to change in the future.\n\n## Overview\n\nThe prom2parquet remote write endpoint for Prometheus listens for incoming datapoints from Prometheus and saves them to\n[parquet files](https://parquet.apache.org) in a user-configurable location.  This can either (currently) be pod-local\nstorage or to an AWS S3 bucket.  Metrics are saved in the following directory structure:\n\n```\n/data/\u003cprefix\u003e/\u003cmetric name\u003e/2024022021.parquet\n```\n\nEach file for a particular metric will have the same schema, but different metrics may have different schemas.  At a\nminimum, each file has a `timestamp` and a `value` column, and a variety of other extracted columns corresponding to the\nlabels on the Prometheus timeseries.  They also have a \"catch-all\" `labels` column to contain other unextracted columns.\n\n## Usage\n\n```\nUsage:\n  prom2parquet [flags]\n\nFlags:\n      --backend backend       supported remote backends for saving parquet files\n                              (valid options: none, s3/aws) (default local)\n      --backend-root string   root path/location for the specified backend (e.g. bucket name for AWS S3)\n                              (default \"/data\")\n  -h, --help                  help for prom2parquet\n      --prefix string         directory prefix for saving parquet files\n  -p, --server-port int       port for the remote write endpoint to listen on (default 1234)\n  -v, --verbosity verbosity   log level (valid options: debug, error, fatal, info, panic, trace, warning/warn)\n                              (default info)\n```\n\nHere is a brief overview of the options:\n\n### backend\n\nWhere to store the Parquet files;; currently supports pod-local storage and AWS S3.\n\n### backend-root\n\n\"Root\" location for the backend storage.  For pod-local storage this is the base directory, for AWS S3 this is the\nbucket name.\n\n### prefix\n\nThis option provides a prefix that can be used to differentiate between metrics collections.\n\n### server-port\n\nWhat port prom2parquet should listen on for timeseries data from Prometheus.\n\n## Configuring Prometheus\n\nPrometheus needs to know where to send timeseries data.  You can include this block in your Prometheus's `config.yml`:\n\n```yaml\nremote_write:\n- url: http://prom2parquet-svc.monitoring:1234/receive\n  remote_timeout: 30s\n```\n\nAlternately, if you're using the [Prometheus operator](https://prometheus-operator.dev), you can add this configuration\nto your Prometheus custom resource:\n\n```yaml\nspec:\n  remoteWrite:\n    - url: http://prom2parquet-svc.monitoring:1234/receive\n```\n\n## Contributing\n\nWe welcome any and all contributions to prom2parquet project!  Please open a pull request.\n\n### Development\n\nTo set up your development environment, run `git submodule init \u0026\u0026 git submodule update` and `make setup`.  To build\n`prom2parquet`, run `make build`.\n\nThis project uses [🔥Config](https://github.com/acrlabs/fireconfig) to generate Kubernetes manifests from definitions\nlocated in `./k8s/`.  If you want to use this mechanism for deploying prom2parquet, you can just type `make` to build\nthe executable, create and push the Docker images, and deploy to the configured Kubernetes cluster.\n\nAll build artifacts are placed in the `.build/` subdirectory.  You can remove this directory or run `make clean` to\nclean up.\n\n### Testing\n\nRun `make test` to run all the unit/integration tests.  If you want to test using pod-local storage, and you want to\nflush the Parquet files to disk without terminating the pod (e.g., so you can copy them elsewhere), you can send the\nprocess a SIGUSR1:\n\n```\n\u003e kubectl exec prom2parquet-pod -- kill -s SIGUSR1 \u003cpid\u003e\n\u003e kubectl cp prom2parquet-pod:/path/to/files ./\n```\n\n### Code of Conduct\n\nApplied Computing Research Labs has a strict code of conduct we expect all contributors to adhere to.  Please read the\n[full text](https://github.com/acrlabs/simkube/blob/master/CODE_OF_CONDUCT.md) so that you understand the expectations\nupon you as a contributor.\n\n### Copyright and Licensing\n\nSimKube is licensed under the [MIT License](https://github.com/acrlabs/simkube/blob/master/LICENSE).  Contributors to\nthis project agree that they own the copyrights to all contributed material, and agree to license your contributions\nunder the same terms.  This is \"inbound=outbound\", and is the [GitHub\ndefault](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#6-contributions-under-repository-license).\n\n\u003e [!WARNING]\n\u003e Due to the uncertain nature of copyright and IP law, this repository does not accept contributions that have been all\n\u003e or partially generated with GitHub Copilot or other LLM-based code generation tools.  Please disable any such tools\n\u003e before authoring changes to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrlabs%2Fprom2parquet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facrlabs%2Fprom2parquet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrlabs%2Fprom2parquet/lists"}