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
Port details on branch 2023Q3
mqtt2prometheus Export MQTT metrics to prometheus
0.1.6_14 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_14Version of this port present on the latest quarterly branch.
Maintainer: manu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-04 15:02:22
Last Update: 2023-09-08 14:39:12
Commit Hash: 793b61c
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_14/catalog.mk
  2. /usr/local/share/licenses/mqtt2prometheus-0.1.6_14/LICENSE
  3. /usr/local/share/licenses/mqtt2prometheus-0.1.6_14/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.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. go120 : lang/go120
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: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1.6_14
08 Sep 2023 14:39:12
commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go120 update

Approved by:	ports-secteam (blanket)
0.1.6_13
04 Aug 2023 14:36:07
commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update

Approved by:	ports-secteam (blanket)

Number of commits found: 2