{"id":19285652,"url":"https://github.com/ifooth/prom-adapter","last_synced_at":"2025-06-28T11:34:22.372Z","repository":{"id":146903170,"uuid":"248903011","full_name":"ifooth/prom-adapter","owner":"ifooth","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-21T04:04:26.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-24T11:21:41.056Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ifooth.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-21T03:57:34.000Z","updated_at":"2024-06-19T07:43:25.150Z","dependencies_parsed_at":null,"dependency_job_id":"35b95335-3f1f-486c-97df-7713cc8d1856","html_url":"https://github.com/ifooth/prom-adapter","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/ifooth/prom-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifooth%2Fprom-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifooth%2Fprom-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifooth%2Fprom-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifooth%2Fprom-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ifooth","download_url":"https://codeload.github.com/ifooth/prom-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifooth%2Fprom-adapter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262422476,"owners_count":23308676,"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-11-09T21:46:08.924Z","updated_at":"2025-06-28T11:34:22.350Z","avatar_url":"https://github.com/ifooth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote storage adapter\n\nThis is a write adapter that receives samples via Prometheus's remote write\nprotocol and stores them in Graphite, InfluxDB, or OpenTSDB. It is meant as a\nreplacement for the built-in specific remote storage implementations that have\nbeen removed from Prometheus.\n\nFor InfluxDB, this binary is also a read adapter that supports reading back\ndata through Prometheus via Prometheus's remote read protocol.\n\n## Building\n\n```\ngo build\n```\n\n## Running\n\nGraphite example:\n\n```\n./remote_storage_adapter --graphite-address=localhost:8080\n```\n\nOpenTSDB example:\n\n```\n./remote_storage_adapter --opentsdb-url=http://localhost:8081/\n```\n\nInfluxDB example:\n\n```\n./remote_storage_adapter --influxdb-url=http://localhost:8086/ --influxdb.database=prometheus --influxdb.retention-policy=autogen\n```\n\nTo show all flags:\n\n```\n./remote_storage_adapter -h\n```\n\n## Configuring Prometheus\n\nTo configure Prometheus to send samples to this binary, add the following to your `prometheus.yml`:\n\n```yaml\n# Remote write configuration (for Graphite, OpenTSDB, or InfluxDB).\nremote_write:\n  - url: \"http://localhost:9201/write\"\n\n# Remote read configuration (for InfluxDB only at the moment).\nremote_read:\n  - url: \"http://localhost:9201/read\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifooth%2Fprom-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifooth%2Fprom-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifooth%2Fprom-adapter/lists"}