{"id":26057652,"url":"https://github.com/wavefronthq/prometheus-storage-adapter","last_synced_at":"2025-10-07T02:08:40.711Z","repository":{"id":34804333,"uuid":"149516955","full_name":"wavefrontHQ/prometheus-storage-adapter","owner":"wavefrontHQ","description":"Prometheus Storage Adapter for Wavefront","archived":false,"fork":false,"pushed_at":"2024-04-19T12:17:16.000Z","size":226,"stargazers_count":10,"open_issues_count":4,"forks_count":12,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-11T05:07:19.985Z","etag":null,"topics":["kubernetes","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavefrontHQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-09-19T21:59:46.000Z","updated_at":"2025-03-03T04:42:03.000Z","dependencies_parsed_at":"2023-11-08T04:02:35.150Z","dependency_job_id":"5476a9a8-b5a5-445e-871e-2ef83f290fe1","html_url":"https://github.com/wavefrontHQ/prometheus-storage-adapter","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/wavefrontHQ/prometheus-storage-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fprometheus-storage-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fprometheus-storage-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fprometheus-storage-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fprometheus-storage-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavefrontHQ","download_url":"https://codeload.github.com/wavefrontHQ/prometheus-storage-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavefrontHQ%2Fprometheus-storage-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"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-10-07T02:00:06.786Z","response_time":59,"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":["kubernetes","prometheus"],"created_at":"2025-03-08T11:58:13.653Z","updated_at":"2025-10-07T02:08:40.698Z","avatar_url":"https://github.com/wavefrontHQ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus Storage Adapter for Operations for Applications\n[![build status][ci-img]][ci] [![Go Report Card][go-report-img]][go-report] [![Docker Pulls][docker-pull-img]][docker-img]\n\n## Introduction\nPrometheus Storage Adapters can act as a \"fork\" and send data to a secondary location. This adapter simply takes the data being sent to it and forwards it to a Wavefront proxy. It is useful when you want data collected by Prometheus to be available in Operations for Applications.\n\n## Installation\n\n### Helm Install for Kubernetes\nRefer to the [Helm chart](https://github.com/wavefrontHQ/helm#installation) to install the Storage Adapter in Kubernetes.\n\n### Download Binaries\nPrebuilt binaries for Linux, macOS, and Windows are available [here](https://github.com/wavefrontHQ/prometheus-storage-adapter/releases).\n\n### Build from Source\nTo build from source:\n\n1. Download the source:\n```\ngo get github.com/wavefronthq/prometheus-storage-adapter\n```\n2. Build it:\n```\ncd $(GOPATH)/src/github.com/wavefronthq/prometheus-storage-adapter\ngo mod tidy\ngo mod vendor\nmake build\n```\n\n## Configuration\nThe adapter takes the following parameters:\n```\n-batch-size int\n    Metric sending batch size (ignored in proxy mode).\n-buffer-size int\n    Metric buffer size (ignored in proxy mode).\n-convert-paths\n    Convert metric names/tags to use period instead of underscores. (default true)\n-debug\n    Print detailed debug messages.\n-flush-interval int\n    Metric flush interval (in seconds).\n-listen string\n    Port/address to listen to on the format '[address:]port'. If no address is specified, the adapter listens to all interfaces.\n-metrics-name-override value\n     list of name and overrides in the format 'key1=value1, key2,value2...'\n     key = original name of the metrics which is coming from prometheus \n     value =  name user wish to override with \n     no prefix and pathConversion will be applied to these metrics.\n-prefix string\n    Prefix for metric names. If omitted, no prefix is added.\n-proxy string\n    Host address to Wavefront proxy.\n-proxy-port int\n    Proxy port. (default 2878)\n-tags string\n    A comma-separated list of tags to be added to each point on the form \"tag1=value1,tag2=value2...\".\n-token string\n    Wavefront API token for direct ingestion.\n-url string\n    Wavefront URL for direct ingestion.\n```\n\n### Standalone Example\nTo have an adapter listen on port 1234 and forward the data to a Wavefront proxy running at localhost:2878 and use a metrics prefix of `prom`:\n```\n./adapter -proxy localhost -proxy-port 2878 -listen 1234 -prefix prom\n```\n\n## Docker Container Example\nThe adapter is available as a Docker image.\n\nTo run it as a Docker container with the parameters discussed above:\n```\ndocker run wavefronthq/prometheus-storage-adapter -proxy=localhost -proxy-port=2878 -listen=1234 -prefix=prom -convert-paths=true\n```\n\n## Integrating with Prometheus\nIntegrating the adapter with Prometheus requires a small change to the `prometheus.yml` config file. All you have to do is to add these two lines to the end of `prometheus.yml`:\n\n```\nremote_write:\n  - url: \"http://localhost:1234/receive\"\n```\n**Note:** Replace `localhost:1234` with the hostname/port of the Prometheus Storage Adapter.\n\nOnce you save the config file, restart Prometheus.\n\n\n[ci-img]: https://github.com/wavefrontHQ/prometheus-storage-adapter/actions/workflows/go.yml/badge.svg\n[ci]: https://github.com/wavefrontHQ/prometheus-storage-adapter/actions/workflows/go.yml\n[go-report-img]: https://goreportcard.com/badge/github.com/wavefronthq/prometheus-storage-adapter\n[go-report]: https://goreportcard.com/report/github.com/wavefronthq/prometheus-storage-adapter\n[docker-pull-img]: https://img.shields.io/docker/pulls/wavefronthq/prometheus-storage-adapter.svg?logo=docker\n[docker-img]: https://hub.docker.com/r/wavefronthq/prometheus-storage-adapter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefronthq%2Fprometheus-storage-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavefronthq%2Fprometheus-storage-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavefronthq%2Fprometheus-storage-adapter/lists"}