{"id":34123243,"url":"https://github.com/das6ng/mqtt2prom","last_synced_at":"2026-05-28T06:33:09.266Z","repository":{"id":213272944,"uuid":"733019161","full_name":"das6ng/mqtt2prom","owner":"das6ng","description":"subscribe mqtt topics and push them to prometheus metrics","archived":false,"fork":false,"pushed_at":"2023-12-19T10:10:22.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T18:03:18.718Z","etag":null,"topics":["iot","mqtt-bridge","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","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/das6ng.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}},"created_at":"2023-12-18T11:33:32.000Z","updated_at":"2023-12-19T10:18:24.000Z","dependencies_parsed_at":"2023-12-25T04:43:06.987Z","dependency_job_id":null,"html_url":"https://github.com/das6ng/mqtt2prom","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"09f41e56802e2b4619bf89b3e40958ee2396800b"},"previous_names":["das6ng/mqtt2prom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/das6ng/mqtt2prom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das6ng%2Fmqtt2prom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das6ng%2Fmqtt2prom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das6ng%2Fmqtt2prom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das6ng%2Fmqtt2prom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/das6ng","download_url":"https://codeload.github.com/das6ng/mqtt2prom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/das6ng%2Fmqtt2prom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27737691,"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-12-14T02:00:11.348Z","response_time":56,"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":["iot","mqtt-bridge","prometheus"],"created_at":"2025-12-14T22:06:22.105Z","updated_at":"2025-12-14T22:06:22.747Z","avatar_url":"https://github.com/das6ng.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mqtt2prom\n\nsubscribe mqtt topics and push them to prometheus metrics.\n\nusage:\n```\nUSAGE:\n   mqtt2prom [global options] command [command options] [arguments...]\n\nCOMMANDS:\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --config value, -c value  specify config file (default: \"config.yaml\")\n   --help, -h                show help\n```\n\nconfig:\n\n```yaml\n# mqtt broker url\nmqtt_broker_url: mqtt://localhost:1883\n\n# mqtt client id\nmqtt_client_id: test_mqtt2prom\n\n# subscribe topics/topic patterns\ntopics:\n  # normal topic\n  - \"test_topic\"\n  # topic pattern, I've tested it on mosquitto\n  - \"/env/#\"\n\n# ignore topics, which wont push to prom push gateway\n# MUST list one by one, no pattern\nignore_topics:\n  - \"/env/debug\"\n\n# prom pushgateway url\npushgateway_url: http://localhost:9091\n\n# prom push job name\npush_job_name: \"mqtt2prom\"\n\n# prom push job interval\npush_interval: 10s\n\n# prom clean job interval\nclean_interval: 1m\n\n# clean job will delete metrics which is no data in this duration.\nclean_duration: 1h\n\n# log level\nlog_level: DEBUG\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas6ng%2Fmqtt2prom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdas6ng%2Fmqtt2prom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdas6ng%2Fmqtt2prom/lists"}