Node Metrics Exporter Configuration
The Node Metrics Exporter is used to collect operational information from machines (physical or virtual). The Node-type Exporter provides metrics such as CPU, memory, disk, and network usage. It is widely used to monitor the health and performance of the environment.
This configuration allows defining the port used to expose Node metrics for Prometheus collection.
Prerequisites
-
Observability components installed.
Command Syntax
Terminal input
pgsmart obs exporter config [Flags]
Flags:
-a, --agent=<agent>
=> Alias, hostname or IP of the server where a PgSmart Agent is installed.-h, --help
=> Help
Non-Interactive Configuration
Non-interactive execution is disabled for this operation.
Interactive Configuration
Terminal input
pgsmart obs exporter config
Node Metrics Exporter Configuration
- Instructions
- Video
-
Select the
PgSmart Agent
or Register a new one. -
Select the
Exportador de Métricas Node
option. -
Enter the port to expose metrics and the web interface.
Figure 1 - Node Metrics Exporter ConfigurationnoteExported metrics can be accessed via console:
Terminal inputcurl http://192.168.56.235:9100/metrics
Or through the web interface:
Carregando...