BSD Ports

net-mgmt/mqtt2prometheus 0.1.7_25 FreeBSD

Export MQTT metrics to prometheus

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
MIT
Categories
net-mgmt
Package size
3623.1 KiB, 11967.9 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

SystemPortVersion
FreeBSDnet-mgmt/mqtt2prometheus0.1.7_25
DragonFlynet-mgmt/mqtt2prometheus0.1.6_21
HardenedBSDnet-mgmt/mqtt2prometheus0.1.7_23
GhostBSDnet-mgmt/mqtt2prometheus0.1.7_23

Install

Binary package:

pkg install mqtt2prometheus

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mqtt2prometheus>0:net-mgmt/mqtt2prometheus

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.7_240.1.7_25-0.1.7_60.1.7_24
FreeBSD:14:quarterly0.1.7_240.1.7_24n/a0.1.7_40.1.7_24
FreeBSD:15:latest0.1.7_240.1.7_25n/a-0.1.7_6
FreeBSD:15:quarterly0.1.7_240.1.7_25n/an/an/a
FreeBSD:16:latest0.1.7_230.1.7_25n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
gmake go
Service scripts
none

Message after installing

===>   NOTICE:

The mqtt2prometheus port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

pkg-plist 2
  • bin/mqtt2prometheus
  • @sample etc/mqtt2prometheus/config.yaml.dist etc/mqtt2prometheus/config.yaml
distinfo 28
FileSizeSHA256
hikhvar-mqtt2prometheus-v0.1.7_GH0.tar.gz6980777e59fc04a522bcf08d8380a75021f5cda008067e50435dbe24b4c85155c20fc
beorn7-perks-v1.0.1_GH0.tar.gz1086798db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
eclipse-paho.mqtt.golang-v1.3.5_GH0.tar.gz959279cfb8872e5f6347ec5e669791f28339a9f404f65ec7ad6bee341ce5b399065b9
go-kit-kit-v0.10.0_GH0.tar.gz274801c0fac2e37b981e4c18e4f210b92e1393bd59dadd7c7fc043ec46d1c9834eba85
go-yaml-yaml-v2.4.0_GH0.tar.gz73209d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
gorilla-websocket-v1.4.2_GH0.tar.gz5410191937a36bc9e0da3c895c73d4cb74b2cdb1aff54ab21b0d0724000e7b5b85b84
patrickmn-go-cache-v2.1.0_GH0.tar.gz135723ab025f2f580f8818a5357db52596fef1b0ad5945816a022c8b805ba46dc93be
pkg-errors-v0.9.1_GH0.tar.gz1341556bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
prometheus-client_golang-v1.7.0_GH0.tar.gz159940580946814972dd8df686ea8ac034aa2f009c13f69d67c923f5d9de0b09ae9743
prometheus-client_model-v0.2.0_GH0.tar.gz109864ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12
prometheus-common-v0.15.0_GH0.tar.gz124369f0957de56c09431076239d27bb85e07841bb832d0c99210087bc6da63a0b2cb6
prometheus-exporter-toolkit-v0.5.1_GH0.tar.gz50475721740ad90ac0d32e51c94d05b67a276cbed2c138e9af16587f98e8664750220
prometheus-procfs-v0.6.0_GH0.tar.gz1698986ad7a23cf4db9fa5dbf2c5d8fbd0fbf5ffe48e3ddb7bf15f9359813d764ce73c
uber-go-zap-v1.16.0_GH0.tar.gz131768098ceed0ab0aea975c1b816f222ac815b3c6a60940329f914709c47a4edda4f7
thedevsaddam-gojsonq-v2.5.2_GH0.tar.gz141251e6fc5f519e7b72e63e1408c55db1abbf8abce9d53b46a09d5948fb7ff6d761c5
golang-net-4c5254603344_GH0.tar.gz1.177478e+065957e628f2676d9e6c9517890bdcec334e8cac53d0f000b42ed6364a0550e152
cespare-xxhash-v2.1.1_GH0.tar.gz92920ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148
golang-protobuf-v1.4.2_GH0.tar.gz171778a1e486b3ed6f502c43e10cb28bde4e8f020a420ef9958d3fbe61801492c07c87
golang-crypto-5f87f3452ae9_GH0.tar.gz1.721681e+068e905a4ce396416a8c8afd8075b93da404f77a9ec1475ad2814d289a1e21a0ee
uber-go-atomic-v1.6.0_GH0.tar.gz967834abb632809f28d4106660d0211dfa624968c4d021717a2e16e1c6bf2606f34a

Commit history 7

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
f302778012 Emmanuel Vadot net-mgmt/mqtt2prometheus: Drop maintainership
I've switch to telegraf to push metrics from mqtt to my victoria-metrics so I don't use this ports anymore.
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7

The latest 5 of 7 in the history this site was built from.