notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
mqtt2prometheus Export MQTT metrics to prometheus
0.1.6_18 net-mgmt on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.1.6_18Version of this port present on the latest quarterly branch.
Maintainer: manu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-05-02 12:45:04
Last Update: 2024-04-15 08:20:04
Commit Hash: 32b2846
License: MIT
WWW:
https://github.com/hikhvar/mqtt2prometheus/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (8 items)
Collapse this list.
  1. /usr/local/share/licenses/mqtt2prometheus-0.1.6_18/catalog.mk
  2. /usr/local/share/licenses/mqtt2prometheus-0.1.6_18/LICENSE
  3. /usr/local/share/licenses/mqtt2prometheus-0.1.6_18/MIT
  4. bin/mqtt2prometheus
  5. @sample etc/mqtt2prometheus/config.yaml.dist etc/mqtt2prometheus/config.yaml
  6. @owner
  7. @group
  8. @mode
Collapse this list.
Dependency lines:
  • mqtt2prometheus>0:net-mgmt/mqtt2prometheus
To install the port:
cd /usr/ports/net-mgmt/mqtt2prometheus/ && make install clean
To add the package, run one of these commands:
  • pkg install net-mgmt/mqtt2prometheus
  • pkg install mqtt2prometheus
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mqtt2prometheus
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1679877009 SHA256 (hikhvar-mqtt2prometheus-v0.1.6_GH0.tar.gz) = 61b046469b76411641d4fcb4d56ac29b4e86b4374111da60b988de91267df848 SIZE (hikhvar-mqtt2prometheus-v0.1.6_GH0.tar.gz) = 59608

Expand this list (54 items)

Collapse this list.

SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825 SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867 SHA256 (eclipse-paho.mqtt.golang-v1.3.5_GH0.tar.gz) = 9cfb8872e5f6347ec5e669791f28339a9f404f65ec7ad6bee341ce5b399065b9 SIZE (eclipse-paho.mqtt.golang-v1.3.5_GH0.tar.gz) = 95927 SHA256 (go-kit-kit-v0.10.0_GH0.tar.gz) = c0fac2e37b981e4c18e4f210b92e1393bd59dadd7c7fc043ec46d1c9834eba85 SIZE (go-kit-kit-v0.10.0_GH0.tar.gz) = 274801 SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0 SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209 SHA256 (gorilla-websocket-v1.4.2_GH0.tar.gz) = 91937a36bc9e0da3c895c73d4cb74b2cdb1aff54ab21b0d0724000e7b5b85b84 SIZE (gorilla-websocket-v1.4.2_GH0.tar.gz) = 54101 SHA256 (patrickmn-go-cache-v2.1.0_GH0.tar.gz) = 3ab025f2f580f8818a5357db52596fef1b0ad5945816a022c8b805ba46dc93be SIZE (patrickmn-go-cache-v2.1.0_GH0.tar.gz) = 13572 SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608 SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415 SHA256 (prometheus-client_golang-v1.7.0_GH0.tar.gz) = 580946814972dd8df686ea8ac034aa2f009c13f69d67c923f5d9de0b09ae9743 SIZE (prometheus-client_golang-v1.7.0_GH0.tar.gz) = 159940 SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12 SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986 SHA256 (prometheus-common-v0.15.0_GH0.tar.gz) = f0957de56c09431076239d27bb85e07841bb832d0c99210087bc6da63a0b2cb6 SIZE (prometheus-common-v0.15.0_GH0.tar.gz) = 124369 SHA256 (prometheus-exporter-toolkit-v0.5.1_GH0.tar.gz) = 721740ad90ac0d32e51c94d05b67a276cbed2c138e9af16587f98e8664750220 SIZE (prometheus-exporter-toolkit-v0.5.1_GH0.tar.gz) = 50475 SHA256 (prometheus-procfs-v0.6.0_GH0.tar.gz) = 6ad7a23cf4db9fa5dbf2c5d8fbd0fbf5ffe48e3ddb7bf15f9359813d764ce73c SIZE (prometheus-procfs-v0.6.0_GH0.tar.gz) = 169898 SHA256 (uber-go-zap-v1.16.0_GH0.tar.gz) = 098ceed0ab0aea975c1b816f222ac815b3c6a60940329f914709c47a4edda4f7 SIZE (uber-go-zap-v1.16.0_GH0.tar.gz) = 131768 SHA256 (thedevsaddam-gojsonq-v2.5.2_GH0.tar.gz) = e6fc5f519e7b72e63e1408c55db1abbf8abce9d53b46a09d5948fb7ff6d761c5 SIZE (thedevsaddam-gojsonq-v2.5.2_GH0.tar.gz) = 141251 SHA256 (golang-net-4c5254603344_GH0.tar.gz) = 5957e628f2676d9e6c9517890bdcec334e8cac53d0f000b42ed6364a0550e152 SIZE (golang-net-4c5254603344_GH0.tar.gz) = 1177478 SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148 SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292 SHA256 (golang-protobuf-v1.4.2_GH0.tar.gz) = a1e486b3ed6f502c43e10cb28bde4e8f020a420ef9958d3fbe61801492c07c87 SIZE (golang-protobuf-v1.4.2_GH0.tar.gz) = 171778 SHA256 (golang-crypto-5f87f3452ae9_GH0.tar.gz) = 8e905a4ce396416a8c8afd8075b93da404f77a9ec1475ad2814d289a1e21a0ee SIZE (golang-crypto-5f87f3452ae9_GH0.tar.gz) = 1721681 SHA256 (uber-go-atomic-v1.6.0_GH0.tar.gz) = 34abb632809f28d4106660d0211dfa624968c4d021717a2e16e1c6bf2606f34a SIZE (uber-go-atomic-v1.6.0_GH0.tar.gz) = 9678 SHA256 (uber-go-multierr-v1.5.0_GH0.tar.gz) = 15fdd69d5f35e1c5c472d02b58fe3e229795d930398f9017c6c43a108504eaf1 SIZE (uber-go-multierr-v1.5.0_GH0.tar.gz) = 12336 SHA256 (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 76727000951c187d058289d8e83d3e2ad480a5d44c7c83b025b78b7eb6bf0258 SIZE (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 11745 SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184 SHA256 (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 5bb72eaf9a4ffd7d0353fa6944951d244df89d879ac36d4b9860fd159162dd81 SIZE (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 17140 SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234 SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22 SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069 SHA256 (jpillora-backoff-v1.0.0_GH0.tar.gz) = 611b29ce95acfa2997e3449762a3df68fcaa773db045535f26eb5c686106351f SIZE (jpillora-backoff-v1.0.0_GH0.tar.gz) = 3507 SHA256 (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = e7266bedaa4f110216fce52ae533dc5eba475d3829bb0592e8876684e202ae1f SIZE (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = 1214648

Collapse this list.


Packages (timestamps in pop-ups are UTC):
mqtt2prometheus
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.1.6_170.1.6_17-0.1.6_170.1.6_18---
FreeBSD:13:quarterly0.1.6_150.1.6_15-0.1.6_150.1.6_18---
FreeBSD:14:latest0.1.6_170.1.6_17-0.1.6_170.1.6_17---
FreeBSD:14:quarterly0.1.6_150.1.6_18-0.1.6_150.1.6_18---
FreeBSD:15:latest0.1.6_160.1.6_18n/a0.1.6_16n/a---
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. go121 : lang/go121
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
net-mgmt_mqtt2prometheus
USES:
gmake go
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/hikhvar/mqtt2prometheus/tar.gz/v0.1.6?dummy=/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1.6_18
15 Apr 2024 08:20:04
commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
0.1.6_17
24 Mar 2024 14:29:00
commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/go: Change DEFAULT to 1.21

PR:		277776
Approved by:	portmgr (exp-run)
0.1.6_16
11 Feb 2024 10:39:17
commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		276530
0.1.6_15
07 Dec 2023 02:22:10
commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		274405
0.1.6_14
08 Sep 2023 14:34:56
commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update
0.1.6_13
04 Aug 2023 14:24:50
commit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fc files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
0.1.6_12
08 Apr 2023 15:13:25
commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
0.1.6_11
27 Mar 2023 11:25:02
commit hash: 38a457ca60f7e7017dc0b4878ed5a4bfe5c126dccommit hash: 38a457ca60f7e7017dc0b4878ed5a4bfe5c126dccommit hash: 38a457ca60f7e7017dc0b4878ed5a4bfe5c126dccommit hash: 38a457ca60f7e7017dc0b4878ed5a4bfe5c126dc files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
net-mgmt/mqtt2prometheus: fix build on riscv64

Bump golang.org/x/sys dependency to a version new enough
to support riscv64-freebsd.

Sponsored by:	Berliner Linux User Group e.V.
Approved by:	portmgr (build fix blanket)
0.1.6_10
09 Mar 2023 19:18:07
commit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after Go ports update
0.1.6_9
15 Feb 2023 19:06:01
commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
0.1.6_8
09 Feb 2023 21:55:23
commit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after GO_DEFAULT update.
0.1.6_7
14 Jan 2023 11:31:17
commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTVERSION after lang/go{118,119} update
0.1.6_6
11 Dec 2022 11:17:27
commit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2a files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
0.1.6_5
06 Oct 2022 19:24:26
commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
0.1.6_4
08 Sep 2022 16:33:18
commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.1.6_3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.1.6_3
03 Aug 2022 21:35:13
commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after Go update

Bump Go ports PORTREVISION after GO_DEFAULT and lang/go118 update.
0.1.6_2
14 Jul 2022 12:46:05
commit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5a files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{117,118} update
0.1.6_1
07 Jun 2022 21:56:10
commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
*/*: Bump port revisons after lang/go{117,118} update
0.1.6
02 May 2022 12:42:01
commit hash: e90f4ca7918fc3dee0f7dedfae4a02051d9a0863commit hash: e90f4ca7918fc3dee0f7dedfae4a02051d9a0863commit hash: e90f4ca7918fc3dee0f7dedfae4a02051d9a0863commit hash: e90f4ca7918fc3dee0f7dedfae4a02051d9a0863 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
net-mgmt/mqtt2prometheus: Add new port

Exporter that allows to translate MQTT topics to prometheus metrics.

Number of commits found: 21