BSD Ports

net-mgmt/mqtt2prometheus 0.1.6_21 DragonFly

Export MQTT metrics to prometheus

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net-mgmt
Package size
3097.6 KiB, 10344.8 KiB installed

Description

This exporter translates from MQTT topics to prometheus metrics. The core design is that clients send arbitrary JSON messages on the topics. The translation between the MQTT representation and prometheus metrics is configured in the mqtt2prometheus exporter since we often can not change the IoT devices sending the messages. Clients can push metrics via MQTT to an MQTT Broker. This exporter subscribes to the broker and expose the received messages as prometheus metrics. Currently, the exporter supports only MQTT 3.1.

In the other systems

The newest version among them is 0.1.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/mqtt2prometheus0.1.6_21none known-[email protected]-
FreeBSDnet-mgmt/mqtt2prometheus0.1.7_25 newestnone known-[email protected]2026-10-20
HardenedBSDnet-mgmt/mqtt2prometheus0.1.7_23 newestno data-[email protected]-
GhostBSDnet-mgmt/mqtt2prometheus0.1.7_23 newestno data-[email protected]-

Install

Binary package:

pkg install mqtt2prometheus

From DPorts:

cd /usr/dports/net-mgmt/mqtt2prometheus && make install clean

Dependencies

No port depends on this one.