liveBook · Manning

Node_exporter_metrics

As explained in Logs and Telemetry

node_exporter_metrics is a Fluent Bit input plugin that collects host operating-system and hardware metrics for Prometheus-compatible export.

node_exporter_metrics is a Fluent Bit input plugin that polls Linux host operating-system and hardware metrics for Prometheus-compatible export. Set scrape_interval in seconds, then route the records to prometheus_exporter, which exposes them at an HTTP /metrics endpoint. section 5.6.1

Configure the collection and export path with these choices:

  • Set tag and tag properties for the collected node records. section 5.6.1
  • Set the exporter host and port; use add_label with space-separated name and value pairs for Prometheus labels. section 5.6.1
  • Use the Linux-only plugin for Linux environments; windows_exporter_metrics is the comparable Windows option. section 5.6.1

Expose node metrics

Configure node_exporter_metrics with tag node_metrics and scrape_interval 5, then expose matching records through prometheus_exporter on 0.0.0.0:9885. Start it with fluent-bit -c fluentbit/prometheus-exporter-output.conf and query <host>:9885/metrics. Output includes Prometheus HELP and TYPE lines plus metrics such as node_cpu_seconds_total and node_disk_reads_completed_total.

How Logs and Telemetry covers it

How deep it goes
Defines polling, tagging, endpoint, and label configuration, then demonstrates Prometheus-formatted output.
Examples
Uses a five-second scrape interval, port 9885, a fluentbit label, and CPU and disk metric output.
What you can do after
Operate/configure a Fluent Bit pipeline that polls Linux nodes and serves Prometheus-compatible metrics at a chosen endpoint.
How it connects
Connects Fluent Bit input records with prometheus_exporter, Prometheus scraping, Node Exporter metrics, and Windows exporter alternatives.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Logs and Telemetry. The section links point to the parts of the book it draws on.