{"id":23470159,"url":"https://github.com/atompi/mpsbot","last_synced_at":"2025-04-12T23:49:27.075Z","repository":{"id":268810149,"uuid":"904136323","full_name":"atompi/mpsbot","owner":"atompi","description":"Scan keys and generate Prometheus scrape configs.","archived":false,"fork":false,"pushed_at":"2024-12-19T03:08:28.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:49:20.762Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atompi.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}},"created_at":"2024-12-16T10:16:14.000Z","updated_at":"2024-12-19T03:08:31.000Z","dependencies_parsed_at":"2024-12-19T04:20:39.779Z","dependency_job_id":"8643a536-08f6-4fe7-b6ea-e77e89e7fa5b","html_url":"https://github.com/atompi/mpsbot","commit_stats":null,"previous_names":["atompi/mpsbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fmpsbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fmpsbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fmpsbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fmpsbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atompi","download_url":"https://codeload.github.com/atompi/mpsbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647258,"owners_count":21139081,"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-12-24T15:49:42.164Z","updated_at":"2025-04-12T23:49:27.052Z","avatar_url":"https://github.com/atompi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpsbot\n\n[metrics-post-station](https://github.com/atompi/metrics-post-station) bot\n\nScan keys and generate Prometheus scrape configs.\n\nA tool that iterates over Redis keys and generates Prometheus scrape configuration files.\n\n## Build\n\n```\ngo build -ldflags '-s -w' -o examples/mpsbot\n```\n\n## Usage\n\n```\nmkdir /app/mpsbot\ncp examples/mpsbot /app/mpsbot\nchmod +x /app/mpsbot/mpsbot\n\ncat \u003e /app/mpsbot/mpsbot.yaml \u003c\u003cEOF\ncore:\n  log:\n    level: info\n    path: ./logs/mpsbot.log\n    maxsize: 100\n    maxage: 7\n    compress: true\n\ntask:\n  interval: 15\n  outputpath: ./\n\nredis:\n  addr: 127.0.0.1:6379\n  password: 123456\n  db: 0\n  dialtimeout: 5\n  prefix: mps-\nEOF\ncp init/systemd/mpsbot.service /lib/systemd/system/\nsystemctl daemon-reload\nsystemctl enable --now mpsbot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatompi%2Fmpsbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatompi%2Fmpsbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatompi%2Fmpsbot/lists"}