Subject: prometheus-node-exporter: Metrics scraped from 
prometheus-node-exporter are not imported by prometheus
Package: prometheus-node-exporter
X-Debbugs-Cc: [email protected]
Version: 1.9.0-1+b4
Severity: normal

Dear Maintainer,

   * What led up to the situation?
   
   Standard prometheus installation - server and clients Debian/trixie 
(Raspberry Pi OS/trixie)

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Search for the metrics for `node_filesystem_free_bytes` in the prometheus 
web interface

   * What was the outcome of this action?

   The node_filesystem_free_bytes metrics for Debian/Raspios clients do not 
appear in 
   prometheus-db

   * What outcome did you expect instead?

   If I pass --no-collector.netstat as an argument 
(/etc/default/prometheus-node-exporter),
   the metrics for node_filesystem_free_bytes is recorded in the database, and 
can be 
   queried.

   As a further point, this might indicate what the problem could be ??

   I’m using a script that, on a NAT router (OpenWRT), queries the 
prometheus-node-exporter
   clients via curl and then sends the data to a prometheus-push-gateway, again 
via curl. 

   And there I get the following error message:

   # /etc/prometheus-openwrt_nat-scraper.sh 

   pushed metrics are invalid or inconsistent with existing metrics: 30 
error(s) occurred:
   * collected metric "node_netstat_TcpExt_SyncookiesSent" { 
label:{name:"instance"  value:"waals-pi5_prisma_pro_qms"}  label:{name:"job"  
value:"waals_nat"}  untyped:{value:0}} is not a GAUGE
   * collected metric "node_netstat_Tcp_InErrs" { label:{name:"instance"  
value:"waals-pi5_prisma_pro_qms"}  label:{name:"job"  value:"waals_nat"}  
untyped:{value:0}} is not a GAUGE
   
   [cut cut]
   
   curl: (18) transfer closed with outstanding read data remaining

   Maybe this is also the problem with the default setup !?

-- System Information:
Debian Release: 13.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.107+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prometheus-node-exporter depends on:
ii  adduser              3.152
ii  init-system-helpers  1.69~deb13u1
ii  libc6                2.41-12+deb13u3

Versions of packages prometheus-node-exporter recommends:
ii  dbus                                 1.16.2-2
ii  prometheus-node-exporter-collectors  0.0~git20241119.a2b43e1-1

prometheus-node-exporter suggests no packages.

-- Configuration Files:
/etc/default/prometheus-node-exporter changed:
ARGS="--no-collector.netstat"


-- no debconf information

Reply via email to