


If you have access to a running node-exporter and the collector in question is enabled, you can easily find all metrics by going to /metrics on whichever port node-exporter is exposed on. I am using mysql-exporter to expose metrics.
#Mysql exporter metrics code
At the moment I do not have access to a prometheus / node-exporter instance but I got the list above by having a quick glance at the code for that collector here. You can enable it by passing -collector.systemd when starting node-exporter. Keep in mind that the systemd collector is disabled by default. Node_systemd_socket_refused_connections_total - Total number of refused socket connections Node_systemd_socket_current_connections - Current number of socket connections Node_systemd_socket_accepted_connections_total - Total number of accepted socket connections

Node_systemd_timer_last_trigger_seconds - Seconds since epoch of last trigger Node_systemd_service_restart_total - Service unit count of Restart triggers Node_systemd_units - Summary of systemd unit states Exporter for MySQL server metrics prometheus/mysqldexporter nodeexporter Exporter for machine metrics prometheus/nodeexporter promlens PromLens The query builder, analyzer, and explainer for PromQL prometheus/promlens pushgateway Push acceptor for ephemeral and batch jobs. Node_systemd_system_running - Whether the system is operational (see 'systemctl is-system-running') Node_systemd_unit_start_time_seconds - Start time of the unit since unix epoch in seconds List of node_systemd metrics: node_systemd_unit_state - Systemd unit
