Package: prometheus-mqtt-exporter Version: 0.1.4-2+b9 Severity: normal X-Debbugs-Cc: dankamong...@gmail.com
Dear Maintainer, I was attempting to determine why promtheus-mqtt-exporter as packaged in Debian wasn't honoring the MQTT2PROM_MQTT_USER and _PASSWORD variables defined in a systemd override file. It appears that the version being shipped is 0.1.4. Version 0.1.6 has been available from upstream for some time now (since January), and adds support for these variables. It would be good to upgrade, I think. I'm also wondering whether this fixes a problem I was seeing where metrics were being dropped. I'm going to grab 0.1.6, built it myself, and see what happens. -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (300, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.19.10nlb2 (SMP w/64 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages prometheus-mqtt-exporter depends on: ii init-system-helpers 1.65.2 ii libc6 2.35-1 ii systemd-sysv 251.4-3 prometheus-mqtt-exporter recommends no packages. prometheus-mqtt-exporter suggests no packages. -- Configuration Files: /etc/prometheus/mqtt-exporter.yaml changed: mqtt: # The MQTT broker to connect to server: tcp://localhost:1883 # user and password are specified in systemd dropin topic_path: mora3 # Optional: Regular expression to extract the device ID from the topic path. The default regular expression, assumes # that the last "element" of the topic_path is the device id. # The regular expression must contain a named capture group with the name deviceid # For example the expression for tasamota based sensors is "tele/(?P<deviceid>.*)/.*" # device_id_regex: "(.*/)?(?P<deviceid>.*)" # The MQTT QoS level qos: 0 cache: # Timeout. Each received metric will be presented for this time if no update is send via MQTT. # Set the timeout to -1 to disable the deletion of metrics from the cache. The exporter presents the ingest timestamp # to prometheus. timeout: 60m metrics: - prom_name: mora3coolant mqtt_name: therm help: Coolant temperature as measured at MO-RA3 type: gauge const_labels: sensor_type: k10 - prom_name: mora3rpm mqtt_name: rpm help: RPM measurements from MO-RA3 fans type: gauge const_labels: sensor_type: arcticp14 -- no debconf information