{"id":15690815,"url":"https://github.com/lmangani/aggressio","last_synced_at":"2025-05-07T02:43:09.212Z","repository":{"id":43858193,"uuid":"200434683","full_name":"lmangani/aggressio","owner":"lmangani","description":"Hash-Ring HTTP Proxy to run aggregated queries across multiple JSON APIs","archived":false,"fork":false,"pushed_at":"2024-11-04T19:06:28.000Z","size":336,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-11T01:08:09.178Z","etag":null,"topics":["aggregation","clustering","distributed","ha","ifql","influx","influxdb","loki","qryn","query","read","telegraf"],"latest_commit_sha":null,"homepage":"http://qryn.dev","language":"JavaScript","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/lmangani.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,"publiccode":null,"codemeta":null},"funding":{"github":["lmangani"]}},"created_at":"2019-08-04T00:53:34.000Z","updated_at":"2024-07-22T20:47:35.000Z","dependencies_parsed_at":"2024-07-23T00:20:15.365Z","dependency_job_id":"6a033ef9-4c3b-4574-a633-84f539fbf6c0","html_url":"https://github.com/lmangani/aggressio","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":0.2857142857142857,"last_synced_commit":"97396f87df693abccb40742776ac4192ce6064f5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Faggressio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Faggressio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Faggressio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Faggressio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmangani","download_url":"https://codeload.github.com/lmangani/aggressio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423525,"owners_count":20774795,"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":["aggregation","clustering","distributed","ha","ifql","influx","influxdb","loki","qryn","query","read","telegraf"],"created_at":"2024-10-03T18:16:32.911Z","updated_at":"2025-03-31T23:31:35.260Z","avatar_url":"https://github.com/lmangani.png","language":"JavaScript","funding_links":["https://github.com/sponsors/lmangani"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=https://user-images.githubusercontent.com/1423657/62418287-ca177d80-b665-11e9-9dcb-3e4afcf741ab.png width=250\u003e\n\n[![CodeQL](https://github.com/lmangani/aggressio/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/lmangani/aggressio/actions/workflows/codeql-analysis.yml)\n\nResponse Aggregating HTTP Proxy for Timeseries APIs \u0026 Friends\n\n### Motivation\nAggress-IO distributes queries across multiple API targets, aggregating results into a unique response.\u003cbr\u003e\nIt has been tested with `InfluxDB`, `Clickhouse` and `Loki`.\n\n#### Options\nAggress-IO can use either of the following modes to accomodate the preferred response aggregation method:\n* `concat`\n* `combine`\n* `replace`\n\n\n### Usage\n#### global\n```\nnpm install -g aggressio\n```\n```\nSERVERS=http://loki1:3100,http://loki2:3100 PORT=3100 MODE=concat aggressio\n```\n\n##### npm\nTo start manually, populate the ENV variables as per example and run:\n```\nSERVERS=http://influxdb1:8086,http://influxdb2:8086 PORT=9999 MODE=concat npm start\n```\n\n##### pm2\nTo manage the service using PM2, edit the `aggressio.config.js` file with the ENV variables and run:\n```\npm2 [start|restart|stop|delete] aggressio.config.js\n```\n\n##### docker\nTo start using Docker, populate the ENV variables as per example and run:\n```\nsudo docker run \\ \n-e SERVERS=http://influxdb1:8086,http://infludb2:8086 \\\n-e PORT=8089 \\\n-e MODE=concat \\\n-p 8089\n--rm  qxip/aggressio:latest\n```\n\n### Diagram\n\n\u003cimg src=https://user-images.githubusercontent.com/1423657/62422429-f60d2000-b6b2-11e9-9a61-23ccbef4875c.png width=800\u003e\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Faggressio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmangani%2Faggressio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Faggressio/lists"}