{"id":19808423,"url":"https://github.com/limitium/mqtt2prom","last_synced_at":"2025-06-15T08:39:26.988Z","repository":{"id":142078787,"uuid":"307199497","full_name":"limitium/mqtt2prom","owner":"limitium","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-27T15:50:05.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T18:23:41.622Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limitium.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":"2020-10-25T21:49:12.000Z","updated_at":"2021-02-27T15:50:07.000Z","dependencies_parsed_at":"2023-07-22T16:15:33.711Z","dependency_job_id":null,"html_url":"https://github.com/limitium/mqtt2prom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/limitium/mqtt2prom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Fmqtt2prom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Fmqtt2prom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Fmqtt2prom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Fmqtt2prom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limitium","download_url":"https://codeload.github.com/limitium/mqtt2prom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Fmqtt2prom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259945861,"owners_count":22935909,"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-11-12T09:13:49.758Z","updated_at":"2025-06-15T08:39:26.966Z","avatar_url":"https://github.com/limitium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus exporter for MQTT\n![Build\u0026push docker image](https://github.com/limitium/mqtt2prom/workflows/Build\u0026push%20docker%20image/badge.svg)\n\n## Description:\n\nConverts MQTT data from `${topic}/userName/zoneName/sensorName/parameterType value` to prometheus Gauges\n\n`zoneName_sensorName_parameterType{u=\"userName\"} value`\n\n## Usage:\n\n- Create a folder to hold the config (default: \"conf/\")\n- Add config in yaml format to the folder. (See exampleconf/conf.yaml for details)\n- Run  ./mqtt_exporter.py or Docker `docker run -v /Users/limi/projects/mqtt_exporter/conf:/usr/src/app/conf mqtt2prom`\n- Profit!\n\n## Config:\n\nYaml files in the folder config/ is combined and read as config.\nSee exampleconf/ for examples.\n\n## Python dependencies:\n\n - paho-mqtt\n - prometheus-client\n - PyYAML\n - yamlreader\n\n## Todo:\n\n- Add persistence of metrics on restart\n- Add TTL for metrics\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Fmqtt2prom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimitium%2Fmqtt2prom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Fmqtt2prom/lists"}