{"id":17216375,"url":"https://github.com/exhuma/pgflux-origin","last_synced_at":"2025-07-06T20:05:26.618Z","repository":{"id":66736614,"uuid":"413054787","full_name":"exhuma/pgflux-origin","owner":"exhuma","description":"Monitoring Script for PostgreSQL and InfluxDB","archived":false,"fork":false,"pushed_at":"2021-10-03T15:49:54.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-30T12:32:48.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/exhuma.png","metadata":{"files":{"readme":"README.rst","changelog":"changelog.in","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":"2021-10-03T11:13:33.000Z","updated_at":"2021-10-08T05:41:39.000Z","dependencies_parsed_at":"2023-09-09T01:37:39.819Z","dependency_job_id":null,"html_url":"https://github.com/exhuma/pgflux-origin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fpgflux-origin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fpgflux-origin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fpgflux-origin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exhuma%2Fpgflux-origin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exhuma","download_url":"https://codeload.github.com/exhuma/pgflux-origin/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245473680,"owners_count":20621275,"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-10-15T03:27:36.059Z","updated_at":"2025-03-25T13:43:01.142Z","avatar_url":"https://github.com/exhuma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pgflux\n======\n\nA simple Python utility to send PostgreSQL metrics to InfluxDB\n\n\nDevelopment\n===========\n\n* Set up development environment::\n\n    fab develop\n\n* Run a docker container for testing::\n\n    docker run --rm \\\n        -e POSTGRES_PASSWORD=mys3cr37passw0rd \\\n        -p \u003chostport\u003e:5432 \\\n        postgresql:latest\n\n* Create a ``.env`` file (use ``.env.template`` as guide)::\n\n    PGFLUX_DSN=postgresql://postgres:mys3cr37passw0rd@localhost:\u003chostport\u003e/postgres\n\n* Run the tests::\n\n    ./env/bin/pytest\n\n\nSetting up Influx for Testing\n=============================\n\n::\n\n    docker run \\\n        -p 8086:8086 \\                                                                        ✓\n        --rm \\\n        --name influxdb \\\n        influxdb:1.8\n    docker exec -ti influxdb influx\n    \u003e CREATE DATABASE postgres_stats\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexhuma%2Fpgflux-origin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexhuma%2Fpgflux-origin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexhuma%2Fpgflux-origin/lists"}